mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 02:18:47 +08:00
tests: add evaluation/build test
This commit is contained in:
8
tests/build-test.sh
Executable file
8
tests/build-test.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
for profile in $(find .. -name \*.nix); do
|
||||
echo $profile >&2
|
||||
nixos-rebuild -I nixos-config=build-test.nix -I nixos-hardware-profile=$profile dry-build
|
||||
done
|
||||
Reference in New Issue
Block a user