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:
parent
c3b29c1c8c
commit
5766d207a5
1 changed files with 11 additions and 7 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -17,35 +17,39 @@ jobs:
|
|||
eval:
|
||||
runs-on: blacksmith-32vcpu-ubuntu-2204
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
flakehub: true
|
||||
- run: nix flake show --all-systems --json
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
flakehub: true
|
||||
- run: nix flake show --all-systems --json
|
||||
|
||||
build_x86_64-linux:
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
os: blacksmith-32vcpu-ubuntu-2204
|
||||
system: x86_64-linux
|
||||
|
||||
build_aarch64-linux:
|
||||
if: github.event_name == 'merge_group'
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
os: blacksmith-32vcpu-ubuntu-2204-arm
|
||||
system: aarch64-linux
|
||||
|
||||
build_x86_64-darwin:
|
||||
if: github.event_name == 'merge_group'
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
os: macos-latest-large
|
||||
system: x86_64-darwin
|
||||
|
||||
build_aarch64-darwin:
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
os: macos-latest-xlarge
|
||||
system: aarch64-darwin
|
||||
|
||||
test_x86_64-linux:
|
||||
uses: ./.github/workflows/test.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue