Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow(wheels): add matrix build for windows, linux, macos #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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/[email protected]
with:
path: ./python/wheelhouse