Skip to content

Commit

Permalink
split jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman committed Oct 24, 2024
1 parent ddbba99 commit 5625d15
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Run tests
run: |
nix run github:Mic92/nix-fast-build -- \
--skip-cached --no-nom \
--max-jobs 1 \
--flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
nix flake show --allow-import-from-derivation --json \
| jq '.["checks"]["x86_64-linux"] | keys[]' \
| xargs -n1 -IO nix build .#checks.x86_64-linux.O
# nix run github:Mic92/nix-fast-build -- \
# --skip-cached --no-nom \
# --max-jobs 1 \
# --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"

0 comments on commit 5625d15

Please sign in to comment.