Skip to content

Commit 4e69950

Browse files
CI: exclude macOS runners based on architecture
1 parent 89f22fe commit 4e69950

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/wheel_tests_and_release.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828

2929
jobs:
3030
build_linux_x86_64_wheels:
31-
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }}
31+
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}
3232
runs-on: ${{ matrix.os }}
3333
strategy:
3434
fail-fast: false
@@ -61,7 +61,7 @@ jobs:
6161
if-no-files-found: error
6262

6363
build_linux_aarch64_wheels:
64-
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }}
64+
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}
6565
runs-on: ${{ matrix.os }}
6666
strategy:
6767
fail-fast: false
@@ -98,14 +98,19 @@ jobs:
9898
path: ./dist/*.whl
9999

100100
build_macos_wheels:
101-
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }}
101+
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}
102102
runs-on: ${{ matrix.os }}
103103
strategy:
104104
fail-fast: false
105105
matrix:
106106
os: [macos-latest, macos-14]
107107
cibw_python: ["cp39", "cp310", "cp311", "cp312"]
108108
cibw_arch: ["x86_64", "arm64"]
109+
exclude:
110+
- os: macos-14
111+
cibw_arch: "x86_64"
112+
- os: macos-latest
113+
cibw_arch: "arm64"
109114
steps:
110115
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
111116
with:
@@ -141,7 +146,7 @@ jobs:
141146
if-no-files-found: error
142147

143148
build_windows_wheels:
144-
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} wheels on ${{ matrix.os }}
149+
name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}
145150
runs-on: ${{ matrix.os }}
146151
strategy:
147152
fail-fast: false

0 commit comments

Comments
 (0)