Tweak build parallelism of CI
This commit is contained in:
parent
7bd7b0e408
commit
7b4247f6da
2 changed files with 2 additions and 2 deletions
|
@ -17,5 +17,5 @@ build-nixos-configurations:
|
|||
- nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
|
||||
- cachix --version
|
||||
- cachix authtoken $CACHIX_AUTH_TOKEN
|
||||
- nix build -j8 --cores 1 -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
||||
- nix build -j 2 --cores 2 -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
||||
- nix eval --json .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
|
|
|
@ -31,7 +31,7 @@ build-nixos-configurations:
|
|||
- nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
|
||||
- cachix --version
|
||||
- cachix authtoken $CACHIX_AUTH_TOKEN
|
||||
- nix build -j 8 --cores 1 -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
||||
- nix build -j 2 --cores 2 -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
||||
- nix eval --json .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||
|
||||
commit-and-push:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue