Update cibuildwheel to compile wheels for Python 3.12 #127
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wheels | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["macos-11","windows-2019","ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
env: | |
CIBW_PRERELEASE_PYTHONS: True | |
CIBW_ARCHS_MACOS: x86_64 universal2 | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: ./wheelhouse/*.whl |