Skip to content

Commit 861998b

Browse files
committed
Fix and simplify setup of archs in cibuildwheel
1 parent 2c0bb76 commit 861998b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/build.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,7 @@ jobs:
4848
needs: [build_data]
4949
strategy:
5050
matrix:
51-
include:
52-
- os: ubuntu-22.04
53-
arch: x86_64
54-
- os: windows-2019
55-
arch: x86_64
56-
- os: macos-13
57-
arch: x86_64
58-
- os: macos-14
59-
arch: arm64
51+
os: [ubuntu-22.04, windows-2019, macos-13, macos-14]
6052
runs-on: ${{ matrix.os }}
6153
steps:
6254
- uses: actions/checkout@v4
@@ -78,7 +70,7 @@ jobs:
7870
env:
7971
CIBW_BUILD_VERBOSITY: 1
8072
CIBW_BUILD: "cp39* cp310* cp311* cp312* cp313*"
81-
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
73+
CIBW_ARCHS: "native"
8274
CIBW_SKIP: "pp* *-musllinux_* *-win32 *-manylinux_i686 *-musllinux_i686 *-linux_aarch64 *-linux_armv7l"
8375
CIBW_BEFORE_ALL: "python {project}/.github/workflows/run_before_all.py"
8476
CIBW_TEST_EXTRAS: "test"

0 commit comments

Comments
 (0)