Skip to content

Commit

Permalink
fix(ci): Build each system in separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Jan 7, 2025
1 parent daf3c52 commit d181f6b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 74 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nix-build-and-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: mrjones2014-dotfiles
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: build all definitions
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#mac
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#homeConfigurations.mac.activationPackage
build-nixos-server:
runs-on: ubuntu-latest
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
name: mrjones2014-dotfiles
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: build all definitions
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#server
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#nixosConfigurations.server.config.system.build.toplevel
build-nixos-pc:
runs-on: ubuntu-latest
steps:
Expand All @@ -48,7 +48,7 @@ jobs:
name: mrjones2014-dotfiles
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: build all definitions
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#pc
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#nixosConfigurations.pc.config.system.build.toplevel
build-nixos-laptop:
runs-on: ubuntu-latest
steps:
Expand All @@ -62,4 +62,4 @@ jobs:
name: mrjones2014-dotfiles
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: build all definitions
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#laptop
run: nix run github:Mic92/nix-fast-build -L -- --skip-cached --no-download --no-nom --eval-workers 1 --eval-max-memory-size 2048 --flake .#nixosConfigurations.laptop.config.system.build.toplevel
106 changes: 36 additions & 70 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d181f6b

Please sign in to comment.