gh-120111: Don't use cirrus M1 macOS runners on fork (#120116)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -199,8 +199,9 @@ jobs:
|
||||
uses: ./.github/workflows/reusable-macos.yml
|
||||
with:
|
||||
config_hash: ${{ needs.check_source.outputs.config_hash }}
|
||||
# Cirrus is M1, macos-13 is default GHA Intel
|
||||
os-matrix: '["ghcr.io/cirruslabs/macos-runner:sonoma", "macos-13"]'
|
||||
# Cirrus and macos-14 are M1, macos-13 is default GHA Intel.
|
||||
# Cirrus used for upstream, macos-14 for forks.
|
||||
os-matrix: '["ghcr.io/cirruslabs/macos-runner:sonoma", "macos-14", "macos-13"]'
|
||||
|
||||
build_macos_free_threading:
|
||||
name: 'macOS (free-threading)'
|
||||
@@ -210,8 +211,9 @@ jobs:
|
||||
with:
|
||||
config_hash: ${{ needs.check_source.outputs.config_hash }}
|
||||
free-threading: true
|
||||
# Cirrus is M1
|
||||
os-matrix: '["ghcr.io/cirruslabs/macos-runner:sonoma"]'
|
||||
# Cirrus and macos-14 are M1.
|
||||
# Cirrus used for upstream, macos-14 for forks.
|
||||
os-matrix: '["ghcr.io/cirruslabs/macos-runner:sonoma", "macos-14"]'
|
||||
|
||||
build_ubuntu:
|
||||
name: 'Ubuntu'
|
||||
|
||||
Reference in New Issue
Block a user