mirror of
https://github.com/python/cpython
synced 2024-09-15 23:16:47 +00:00
CI: Only test free-threading with faster macOS M1 (#116814)
Only test free-threading with faster macOS M1
This commit is contained in:
parent
b1236a4410
commit
415cd06d72
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -206,6 +206,8 @@ jobs:
|
||||||
uses: ./.github/workflows/reusable-macos.yml
|
uses: ./.github/workflows/reusable-macos.yml
|
||||||
with:
|
with:
|
||||||
config_hash: ${{ needs.check_source.outputs.config_hash }}
|
config_hash: ${{ needs.check_source.outputs.config_hash }}
|
||||||
|
# macos-14 is M1, macos-13 is Intel
|
||||||
|
os-matrix: '["macos-14", "macos-13"]'
|
||||||
|
|
||||||
build_macos_free_threading:
|
build_macos_free_threading:
|
||||||
name: 'macOS (free-threading)'
|
name: 'macOS (free-threading)'
|
||||||
|
@ -215,6 +217,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
config_hash: ${{ needs.check_source.outputs.config_hash }}
|
config_hash: ${{ needs.check_source.outputs.config_hash }}
|
||||||
free-threading: true
|
free-threading: true
|
||||||
|
# macos-14 is M1
|
||||||
|
os-matrix: '["macos-14"]'
|
||||||
|
|
||||||
build_ubuntu:
|
build_ubuntu:
|
||||||
name: 'Ubuntu'
|
name: 'Ubuntu'
|
||||||
|
|
8
.github/workflows/reusable-macos.yml
vendored
8
.github/workflows/reusable-macos.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
os-matrix:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_macos:
|
build_macos:
|
||||||
|
@ -22,10 +25,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [
|
os: ${{fromJson(inputs.os-matrix)}}
|
||||||
"macos-14", # M1
|
|
||||||
"macos-13", # Intel
|
|
||||||
]
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue