From 10b7535c87c5fa2ebd25c8b69d8a076cdda0f26d Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 28 Mar 2025 11:00:31 -0400 Subject: [PATCH] Pass system to test.yml --- .github/workflows/test.yml | 7 ++++--- .github/workflows/upload-release.yml | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e58827a9c..a54b1f839 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index b600dfba0..f762446bd 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -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