mach-nix/tests/execute.sh
2022-02-09 17:57:50 -07:00

7 lines
204 B
Bash
Executable file

#!/usr/bin/env bash
set -euxo pipefail
WORKERS=${WORKERS:-10}
find . -name "test_*.nix" | parallel -a - -j "${WORKERS}" --halt now,fail=1 nix-build --no-out-link --show-trace make-tests.nix --arg file