summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-01-25 19:57:26 -0500
committerSeth Flynn <[email protected]>2025-01-25 20:21:42 -0500
commit1e41d24358348463ba75d2ed80358f8a1d6001ce (patch)
tree614400fc4a0e8b78fe87aa7ae5f13c0e01490de5 /.github/workflows
parent72133508e64b26ad938ea4b437fee337170e957b (diff)
ci: make hydraJobs on a per-system basis
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 069fd0b..1da4534 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -18,6 +18,9 @@ jobs:
runs-on: ${{ matrix.os }}
+ env:
+ SYSTEM: ${{ matrix.system }}
+
steps:
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
- name: Clear disk space
@@ -42,16 +45,13 @@ jobs:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Run build
- env:
- SYSTEM: ${{ matrix.system }}
run: |
- nix run \
+ nix run --inputs-from . \
github:Mic92/nix-fast-build -- \
--no-nom \
--skip-cached \
- --systems "$SYSTEM" \
--option allow-import-from-derivation false \
- --flake '.#hydraJobs'
+ --flake ".#hydraJobs.$SYSTEM"
build-gate:
name: Build gate