Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit c853932

Browse files
committed
github: use matrix for parallel builds
Building everything at once takes hours and causes CI to run out of disk space, so we need to build in parallel.
1 parent 20800a2 commit c853932

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,29 @@ jobs:
1111
build_wheels:
1212
name: Build wheels
1313
runs-on: windows-2022
14-
14+
strategy:
15+
matrix:
16+
build:
17+
- cp37-win_amd64
18+
- cp37-win32
19+
- cp38-win_amd64
20+
- cp38-win32
21+
- cp39-win_amd64
22+
- cp39-win32
23+
- cp39-win_arm64
24+
- cp310-win_amd64
25+
- cp310-win32
26+
- cp310-win_arm64
27+
- cp311-win_amd64
28+
- cp311-win32
29+
- cp311-win_arm64
1530
steps:
1631
- uses: actions/checkout@v3
1732

1833
- name: Build wheels
1934
uses: pypa/cibuildwheel@v2.12.1
35+
env:
36+
CIBW_BUILD: ${{ matrix.build }}
2037

2138
- uses: actions/upload-artifact@v3
2239
with:

0 commit comments

Comments
 (0)