1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

Pass system to test.yml

This commit is contained in:
Graham Christensen 2025-03-28 11:00:31 -04:00
parent 5766d207a5
commit 10b7535c87
2 changed files with 11 additions and 3 deletions

View file

@ -4,9 +4,10 @@ on:
os:
required: true
type: string
system:
required: true
type: string
jobs:
tests:
strategy:
fail-fast: false
@ -18,4 +19,4 @@ jobs:
with:
flakehub: true
- uses: DeterminateSystems/flakehub-cache-action@main
- run: nix flake check -L
- run: nix flake check -L --system ${{ inputs.system }}

View file

@ -29,18 +29,25 @@ jobs:
uses: ./.github/workflows/build.yml
with:
os: blacksmith-32vcpu-ubuntu-2204
system: x86_64-linux
build-aarch64-linux:
uses: ./.github/workflows/build.yml
with:
os: blacksmith-32vcpu-ubuntu-2204-arm
system: aarch64-linux
build-x86_64-darwin:
uses: ./.github/workflows/build.yml
with:
os: macos-13
system: x86_64-darwin
build-aarch64-darwin:
uses: ./.github/workflows/build.yml
with:
os: macos-latest
system: aarch64-darwin
release:
runs-on: ubuntu-latest