Skip to content

Commit 199b607

Browse files
committed
parallelize build matrix further
1 parent 009193a commit 199b607

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/wheels.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
CIBW_BUILD_VERBOSITY: 1
12-
CIBW_SKIP: "*-musllinux* pp* cp36-* cp37-*"
12+
CIBW_SKIP: "*-musllinux* pp*"
1313
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
1414
CIBW_ARCHS_WINDOWS: auto64
1515
CIBW_ARCHS_LINUX: auto64
@@ -23,16 +23,18 @@ jobs:
2323
build_wheels:
2424
strategy:
2525
matrix:
26-
os: [ubuntu-20.04, windows-latest]
27-
include:
28-
- os: macos-latest
29-
cibw-arch: x86_64
30-
- os: macos-latest
26+
os: [ubuntu-20.04, windows-latest, macos-latest]
27+
python: [cp38, cp39, cp310, cp311]
28+
cibw-arch: [x86_64, arm64]
29+
exclude:
30+
- os: ubuntu-20.04
31+
cibw-arch: arm64
32+
- os: windows-latest
3133
cibw-arch: arm64
3234
fail-fast: false
3335

3436
name: >
35-
Build wheels on ${{ matrix.os }}
37+
${{ matrix.python }} wheel for ${{ matrix.os }}
3638
${{ (matrix.os == 'macos-latest' && format('({0})', matrix.cibw-arch)) || '' }}
3739
runs-on: ${{ matrix.os }}
3840

@@ -80,6 +82,8 @@ jobs:
8082
echo "CIBW_ARCHS_MACOS=${{ matrix.cibw-arch }}" >> $GITHUB_ENV
8183
8284
- name: Build wheels
85+
env:
86+
CIBW_BUILD: ${{ matrix.python }}-*
8387
run: |
8488
python -m cibuildwheel --output-dir wheelhouse
8589

0 commit comments

Comments
 (0)