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:
parent
5766d207a5
commit
10b7535c87
2 changed files with 11 additions and 3 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -4,9 +4,10 @@ on:
|
||||||
os:
|
os:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
system:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -18,4 +19,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
flakehub: true
|
flakehub: true
|
||||||
- uses: DeterminateSystems/flakehub-cache-action@main
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
- run: nix flake check -L
|
- run: nix flake check -L --system ${{ inputs.system }}
|
||||||
|
|
7
.github/workflows/upload-release.yml
vendored
7
.github/workflows/upload-release.yml
vendored
|
@ -29,18 +29,25 @@ jobs:
|
||||||
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:
|
||||||
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:
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
with:
|
with:
|
||||||
os: macos-13
|
os: macos-13
|
||||||
|
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
|
os: macos-latest
|
||||||
|
system: aarch64-darwin
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue