ci: enable parallel building

Use `nix build --print-build-logs` to prefix the build output with the
name of its derivation.
This helps to distinguish build outputs when output is interleaved in
parallel builds.
This commit is contained in:
Erik Arvstedt
2025-06-10 13:45:57 +02:00
parent a52bf46031
commit fb56684999
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ task:
- scenario: netnsRegtest
# This script is run as root
build_script:
- echo "sandbox = true" >> /etc/nix/nix.conf
- printf '%s\n' 'sandbox = true' 'max-jobs = auto' >> /etc/nix/nix.conf
- nix shell --inputs-from . nixpkgs#{bash,coreutils,cachix} -c ./test/ci/build.sh $scenario
- name: flake