Tweak build parallelism of CI

This commit is contained in:
Charlotte Van Petegem 2023-08-28 19:28:18 +02:00
parent 7bd7b0e408
commit 7b4247f6da
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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: