Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed Oct 24, 2024
1 parent 47e5f50 commit b10014a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build -L
- run: |
hostnames=$(nix eval --raw ".#nixosConfigurations" --apply 'x: builtins.concatStringsSep " " (builtins.attrNames x)')
for h in $hostnames; do
attribute="nixosConfigurations.$h.config.system.build.toplevel"
nix build -L $attribute --no-out-link
done
- run: nix flake check -L

0 comments on commit b10014a

Please sign in to comment.