mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
testing build_systems.yml
This commit is contained in:
18
.github/workflows/build_bob.yml
vendored
18
.github/workflows/build_bob.yml
vendored
@@ -1,18 +0,0 @@
|
||||
name: build_bob
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build_bob
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v3
|
||||
- name: Build default package
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#bob"'
|
||||
18
.github/workflows/build_muninn.yml
vendored
18
.github/workflows/build_muninn.yml
vendored
@@ -1,18 +0,0 @@
|
||||
name: build_muninn
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build_muninn
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v3
|
||||
- name: Build default package
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#muninn"'
|
||||
18
.github/workflows/build_rhapsody-in-green.yml
vendored
18
.github/workflows/build_rhapsody-in-green.yml
vendored
@@ -1,18 +0,0 @@
|
||||
name: build_rhapsody-in-green
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build_rhapsody-in-green
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v3
|
||||
- name: Build default package
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#rhapsody-in-green"'
|
||||
@@ -7,12 +7,18 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build_jeeves
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
name: build-${{ matrix.system }}
|
||||
runs-on: self-hosted
|
||||
strategy:
|
||||
matrix:
|
||||
system:
|
||||
- "bob"
|
||||
- "jeeves"
|
||||
- "muninn"
|
||||
- "rhapsody-in-green"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v3
|
||||
- name: Build default package
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#jeeves"'
|
||||
run: 'nix-shell -p nixos-rebuild --run "nixos-rebuild build --flake ./#${{ matrix.system }}"'
|
||||
6
build.sh
Normal file
6
build.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#bob
|
||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#jeeves
|
||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#muninn
|
||||
nixos-rebuild build --flake /home/richie/projects/dotfiles#rhapsody-in-green
|
||||
@@ -18,6 +18,7 @@ sudo zpool add torrenting -o ashift=12 special
|
||||
# media datasets
|
||||
sudo zfs create -o compression=zstd-9 media/docker
|
||||
sudo zfs create -o recordsize=1M -o compression=zstd-19 media/library
|
||||
sudo zfs create -o compression=zstd-9 -o sync=disabled media/github-runners
|
||||
sudo zfs create -o exec=off media/minio
|
||||
sudo zfs create -o exec=off media/mirror
|
||||
sudo zfs create -o copies=3 media/notes
|
||||
|
||||
Reference in New Issue
Block a user