-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Remove Cirrus macOS runners from CI #139799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -202,23 +202,16 @@ jobs: | |
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| # Cirrus and macos-14 are M1, macos-15-intel is default GHA Intel. | ||
| # macOS 13 only runs tests against the GIL-enabled CPython. | ||
| # Cirrus used for upstream, macos-14 for forks. | ||
| # macos-14 is M1, macos-15-intel is default GHA Intel. | ||
| # macos-15-intel only runs tests against the GIL-enabled CPython. | ||
| # macos-14 is for forks. | ||
JacobCoffee marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| os: | ||
| - ghcr.io/cirruslabs/macos-runner:sonoma | ||
| - macos-14 | ||
| - macos-15-intel | ||
| is-fork: # only used for the exclusion trick | ||
| - ${{ github.repository_owner != 'python' }} | ||
| free-threading: | ||
| - false | ||
| - true | ||
| exclude: | ||
| - os: ghcr.io/cirruslabs/macos-runner:sonoma | ||
| is-fork: true | ||
| - os: macos-14 | ||
| is-fork: false | ||
| - os: macos-15-intel | ||
| free-threading: true | ||
| uses: ./.github/workflows/reusable-macos.yml | ||
|
|
@@ -409,9 +402,8 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| # Use the same runs-on configuration as build-macos and build-ubuntu. | ||
| - arch: aarch64 | ||
| runs-on: ${{ github.repository_owner == 'python' && 'ghcr.io/cirruslabs/macos-runner:sonoma' || 'macos-14' }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pls review There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is correct. Before, this was essentially a YAML ternary. It was checking if the CI was running under the If not, the CI is running on someone's fork, where they don't have access to Cirrus, so would fall back to But now, we want to use |
||
| runs-on: macos-14 | ||
| - arch: x86_64 | ||
| runs-on: ubuntu-24.04 | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.