Use cibuildwheel
for all architectures; add support for aarch64
linux; publish musllinux
wheels as well as manylinux
; move cibuildwheel
configuration to pyproject.toml
; use pypa action for PyPI upload
#14
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: Build | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# macos-13 is an intel runner, macos-14 is apple silicon | |
os: [ | |
# macos-13, # works 100% | |
# macos-14, # works 100% | |
ubuntu-latest, # figuring out how to install openblas | |
# windows-latest, # figuring out how to install openblas | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
# env: | |
# CIBW_SOME_OPTION: value | |
# ... | |
# with: | |
# package-dir: . | |
# output-dir: wheelhouse | |
# config-file: "{package}/pyproject.toml" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | |
path: ./wheelhouse/*.whl |