Skip to content

Commit b29d439

Browse files
authored
parallel macos wheels (#85)
1 parent 12199b4 commit b29d439

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/ci-wheels.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,34 @@ on:
2424

2525
jobs:
2626
build_bdist:
27-
name: "build ${{ matrix.os }} wheels"
27+
name: "build ${{ matrix.os }} (${{ matrix.arch }}) wheels"
2828
runs-on: ${{ matrix.os }}
2929
strategy:
3030
fail-fast: false
3131
matrix:
3232
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
33+
arch: ["x86_64", "arm64"]
34+
exclude:
35+
- os: "ubuntu-latest"
36+
arch: "arm64"
37+
- os: "windows-latest"
38+
arch: "x86_64"
39+
- os: "windows-latest"
40+
arch: "arm64"
41+
include:
42+
- os: "windows-latest"
43+
arch: "AMD64"
3344

3445
steps:
3546
- uses: actions/checkout@v3
3647
with:
3748
fetch-depth: 0
3849

39-
- name: "build ${{ matrix.os }} wheels"
50+
- name: "build ${{ matrix.os }} (${{ matrix.arch }}) wheels"
4051
uses: pypa/cibuildwheel@v2.12.3
4152
env:
4253
CIBW_SKIP: "cp36-* cp37-* pp* *-musllinux*"
43-
CIBW_ARCHS_LINUX: "x86_64"
44-
CIBW_ARCHS_MACOS: "x86_64 arm64"
45-
CIBW_ARCHS_WINDOWS: "AMD64"
54+
CIBW_ARCHS: ${{ matrix.arch }}
4655
CIBW_BUILD_FRONTEND: "build"
4756
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
4857
CIBW_TEST_SKIP: "*-macosx_arm64"

0 commit comments

Comments
 (0)