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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user