Parallelize building hosts on new commit
This commit is contained in:
parent
256864f74f
commit
46ba8d6cf4
1 changed files with 9 additions and 8 deletions
17
.github/workflows/cachix.yml
vendored
17
.github/workflows/cachix.yml
vendored
|
@ -7,6 +7,13 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
host:
|
||||
- kharbranth
|
||||
- kholinar
|
||||
- lasting-integrity
|
||||
- urithiru
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v18
|
||||
|
@ -19,11 +26,5 @@ jobs:
|
|||
extraPullNames: "nix-community,accentor"
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
skipPush: true
|
||||
- run: nix build -L --no-link .#nixosConfigurations.lasting-integrity.config.system.build.toplevel
|
||||
- run: nix eval --json ".#nixosConfigurations.lasting-integrity.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
- run: nix build -L --no-link .#nixosConfigurations.urithiru.config.system.build.toplevel
|
||||
- run: nix eval --json ".#nixosConfigurations.urithiru.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
- run: nix build -L --no-link .#nixosConfigurations.kharbranth.config.system.build.toplevel
|
||||
- run: nix eval --json ".#nixosConfigurations.kharbranth.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
- run: nix build -L --no-link .#nixosConfigurations.kholinar.config.system.build.toplevel
|
||||
- run: nix eval --json ".#nixosConfigurations.kholinar.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
- run: nix build -L --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
|
||||
- run: nix eval --json ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue