Skip to content

Commit

Permalink
Auto merge of #13685 - ehuss:macos-13, r=weihanglo
Browse files Browse the repository at this point in the history
CI: Update macos images to macos-13

This changes the CI workflows to use `macos-13` instead of `macos-latest`. `latest` is currently `macos-12`, but GitHub is [migrating](https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/) latest to `macos-14` starting immediately. 14 switches to aarch64 which we do not want, yet.

rust-lang/rust already migrated to macos-13 a little while ago in rust-lang/rust#113544. This might have some performance improvements here, as the macos-12 images inconsistently have SIP enabled, but macos-13 seems to reliably have it disabled.

We do not yet know when GitHub will be retiring their x86_64 runners. Their current roadmap, posted at actions/runner-images#9255, shows macos-13 supported through at least the end of the year. However, I suspect next year might spell the end for it. At that time, the Rust project might need to consider downgrading x86_64-apple-darwin to tier 2 or figure out some other option.
  • Loading branch information
bors committed Apr 1, 2024
2 parents c9ca99b + 33360c8 commit 631b077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ jobs:
rust: nightly
other: i686-unknown-linux-gnu
- name: macOS x86_64 stable
os: macos-latest
os: macos-13
rust: stable
other: x86_64-apple-ios
- name: macOS x86_64 nightly
os: macos-latest
os: macos-13
rust: nightly
other: x86_64-apple-ios
- name: macOS aarch64 stable
Expand Down

0 comments on commit 631b077

Please sign in to comment.