From 577df11c67721f61210f542643e28c469e9e8c85 Mon Sep 17 00:00:00 2001 From: betaboon Date: Mon, 26 Sep 2022 13:46:36 +0200 Subject: [PATCH] workflow(wheels): add matrix build for windows, linux, macos --- .github/workflows/wheel.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index d0ae597d..9dc2fdc8 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -15,26 +15,21 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2019] + os: [ubuntu-20.04, windows-2019, macos-11] steps: - uses: actions/checkout@v2 - # Used to host cibuildwheel - - uses: actions/setup-python@v2 - - - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.3.1 - - name: Build wheels - working-directory: ./python - run: python -m cibuildwheel --output-dir wheelhouse + uses: pypa/cibuildwheel@v2.10.2 env: # don't build for PyPython and windows 32-bit CIBW_SKIP: pp* *win32* + with: + package-dir: ./python + output-dir: ./python/wheelhouse - name: Upload a Build Artifact uses: actions/upload-artifact@v3.0.0 with: path: ./python/wheelhouse -