Skip to content

Commit

Permalink
chore: remove GH no-longer required task test (macos-latest) (#4529)
Browse files Browse the repository at this point in the history
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`).
  • Loading branch information
crusso authored May 2, 2024
1 parent 8308a66 commit 0e6bb80
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0e6bb80

Please sign in to comment.