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

Pass system from ci

This commit is contained in:
Graham Christensen 2025-03-28 10:58:38 -04:00
parent c3b29c1c8c
commit 5766d207a5

View file

@ -17,35 +17,39 @@ jobs:
eval: eval:
runs-on: blacksmith-32vcpu-ubuntu-2204 runs-on: blacksmith-32vcpu-ubuntu-2204
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
with: with:
flakehub: true flakehub: true
- run: nix flake show --all-systems --json - run: nix flake show --all-systems --json
build_x86_64-linux: build_x86_64-linux:
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
os: blacksmith-32vcpu-ubuntu-2204 os: blacksmith-32vcpu-ubuntu-2204
system: x86_64-linux
build_aarch64-linux: build_aarch64-linux:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
os: blacksmith-32vcpu-ubuntu-2204-arm os: blacksmith-32vcpu-ubuntu-2204-arm
system: aarch64-linux
build_x86_64-darwin: build_x86_64-darwin:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
os: macos-latest-large os: macos-latest-large
system: x86_64-darwin
build_aarch64-darwin: build_aarch64-darwin:
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
os: macos-latest-xlarge os: macos-latest-xlarge
system: aarch64-darwin
test_x86_64-linux: test_x86_64-linux:
uses: ./.github/workflows/test.yml uses: ./.github/workflows/test.yml