From 0e0647cdf85bdd46423288c3638fc0526aa9ff3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sun, 5 May 2024 17:38:12 +0100 Subject: [PATCH] Fix wheel build --- .github/workflows/wheels.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml index 6f9486a..8ff75d6 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/wheels.yaml @@ -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: @@ -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