From 176b462ba768574b666cde14183287ed9d45b60d Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Sat, 24 Feb 2024 17:55:58 -0600 Subject: [PATCH] github: add nix-on-macOS to the CI matrix The aarch64-darwin macOS runners are actually quite speedy, often the fastest builders anyway. With the recent improvements to the Nix CI speed in 3f7b5a75e, this shouldn't be a bottleneck, and will catch build regressions. --- .github/workflows/{nix-linux.yml => build-nix.yml} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) rename .github/workflows/{nix-linux.yml => build-nix.yml} (76%) diff --git a/.github/workflows/nix-linux.yml b/.github/workflows/build-nix.yml similarity index 76% rename from .github/workflows/nix-linux.yml rename to .github/workflows/build-nix.yml index 288ef4be22..e2865f378d 100644 --- a/.github/workflows/nix-linux.yml +++ b/.github/workflows/build-nix.yml @@ -1,4 +1,4 @@ -name: Nix on Linux +name: Nix Builds on: push: @@ -10,9 +10,14 @@ permissions: read-all jobs: nix: - runs-on: ubuntu-latest - name: nix-build + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-14] + runs-on: ${{ matrix.os }} timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit + + name: nix flake check steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: