Reduce build parallellism in CI
This commit is contained in:
parent
e49bbf76b5
commit
d749964ec1
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
|
- nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
|
||||||
- cachix --version
|
- cachix --version
|
||||||
- cachix authtoken $CACHIX_AUTH_TOKEN
|
- cachix authtoken $CACHIX_AUTH_TOKEN
|
||||||
- nix build -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
- nix build -j8 --cores 1 -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
|
- 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
|
- nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
|
||||||
- cachix --version
|
- cachix --version
|
||||||
- cachix authtoken $CACHIX_AUTH_TOKEN
|
- cachix authtoken $CACHIX_AUTH_TOKEN
|
||||||
- nix build -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
|
- nix build -j 8 --cores 1 -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
|
- nix eval --json .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel | sed 's/"\(.*\)"/\1/' | cachix push chvp
|
||||||
|
|
||||||
commit-and-push:
|
commit-and-push:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue