Skip to content

Commit

Permalink
github: use matrix for parallel builds
Browse files Browse the repository at this point in the history
Building everything at once takes hours and causes CI to run out of
disk space, so we need to build in parallel.
  • Loading branch information
dlech committed Apr 8, 2023
1 parent 20800a2 commit c853932
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,29 @@ jobs:
build_wheels:
name: Build wheels
runs-on: windows-2022

strategy:
matrix:
build:
- cp37-win_amd64
- cp37-win32
- cp38-win_amd64
- cp38-win32
- cp39-win_amd64
- cp39-win32
- cp39-win_arm64
- cp310-win_amd64
- cp310-win32
- cp310-win_arm64
- cp311-win_amd64
- cp311-win32
- cp311-win_arm64
steps:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.1
env:
CIBW_BUILD: ${{ matrix.build }}

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit c853932

Please sign in to comment.