Skip to content

Commit

Permalink
Fix wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed May 5, 2024
1 parent 930ca27 commit 0e0647c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true

steps:
Expand All @@ -20,13 +20,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install setuptools wheel cibuildwheel
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
if: "matrix.os == 'ubuntu-latest'"
- name: Build wheels
run: python -m build --wheel
run: python -m cibuildwheel --output-dir wheelhouse
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
path: ./dist/*.whl
path: ./wheelhouse/*.whl

build-sdist:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0e0647c

Please sign in to comment.