From 0e6bb800ac190049bf48f35858d708dce516a127 Mon Sep 17 00:00:00 2001 From: Claudio Russo Date: Thu, 2 May 2024 22:24:06 +0100 Subject: [PATCH] chore: remove GH no-longer required task `test (macos-latest)` (#4529) Our branch protection rules now require check `test (macos-12)`, not `test (macos-latest)`. We build `test (macos-12)`, since `macos-latest`, since April 24, is now an M1 target, breaking our builds (`macos-12` is x86 and the previous default for `macos-latest`). --- .github/workflows/test.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65212535180..925eee6ac10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,13 +4,10 @@ on: branches: [ master ] pull_request: {} jobs: - # macos-latest is now M1, so testing is pro forma only and - # faked (see "nix-build"). - # This is to satisfy current GH branchprotection rules and allow merges. tests: strategy: matrix: - os: [ ubuntu-latest, macos-12, macos-latest ] + os: [ ubuntu-latest, macos-12 ] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -60,7 +57,6 @@ jobs: nix-store --gc --print-roots | grep /motoko/ - name: "nix-build" - if: matrix.os != 'macos-latest' run: nix-build-uncached --max-jobs 4 -A all-systems-go -build-flags -L - name: Calculate performance delta