Skip to content

Commit

Permalink
parallelize build matrix further
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Nov 30, 2022
1 parent 009193a commit 199b607
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
CIBW_BUILD_VERBOSITY: 1
CIBW_SKIP: "*-musllinux* pp* cp36-* cp37-*"
CIBW_SKIP: "*-musllinux* pp*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_ARCHS_WINDOWS: auto64
CIBW_ARCHS_LINUX: auto64
Expand All @@ -23,16 +23,18 @@ jobs:
build_wheels:
strategy:
matrix:
os: [ubuntu-20.04, windows-latest]
include:
- os: macos-latest
cibw-arch: x86_64
- os: macos-latest
os: [ubuntu-20.04, windows-latest, macos-latest]
python: [cp38, cp39, cp310, cp311]
cibw-arch: [x86_64, arm64]
exclude:
- os: ubuntu-20.04
cibw-arch: arm64
- os: windows-latest
cibw-arch: arm64
fail-fast: false

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

Expand Down Expand Up @@ -80,6 +82,8 @@ jobs:
echo "CIBW_ARCHS_MACOS=${{ matrix.cibw-arch }}" >> $GITHUB_ENV
- name: Build wheels
env:
CIBW_BUILD: ${{ matrix.python }}-*
run: |
python -m cibuildwheel --output-dir wheelhouse
Expand Down
2 changes: 1 addition & 1 deletion ext/drjit

0 comments on commit 199b607

Please sign in to comment.