Skip to content

Commit

Permalink
[ci] use M1 runners for macOS builds (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers authored Jan 31, 2024
1 parent 7de9219 commit 50dfa7a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
# macos-14 for M1 runners
os: [ ubuntu-latest, macos-14, windows-latest ]
# 1.34 is the MSRV, and the other versions add new features through build.rs.
# The nightly versions are used to ensure that build.rs's version detection is compatible
# with them:
Expand All @@ -54,9 +55,9 @@ jobs:
exclude:
# These versions started failing with "archive member 'lib.rmeta' with length 26456 is not
# mach-o or llvm bitcode file".
- os: macos-latest
- os: macos-14
rust-version: 1.34
- os: macos-latest
- os: macos-14
rust-version: 1.44
fail-fast: false
env:
Expand Down

0 comments on commit 50dfa7a

Please sign in to comment.