ci: rebuild for numpy 2.0 #35
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: Build Wheels | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
env: | |
CIBW_SKIP: pp* *-musllinux* | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{matrix.arch}} for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-2019, macos-latest] | |
arch: [auto] | |
include: | |
- os: ubuntu-latest | |
arch: aarch64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
if: ${{ matrix.arch == 'aarch64' }} | |
uses: docker/setup-qemu-action@v1 | |
- name: Build wheels | |
uses: pypa/cibuildwheel@v2.19.1 | |
# to supply options, put them in 'env', like: | |
env: | |
CIBW_ARCHS_LINUX: ${{matrix.arch}} | |
CIBW_BEFORE_BUILD: pip install numpy setuptools wheel cython | |
CIBW_ARCHS_MACOS: "x86_64 arm64" | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: ./wheelhouse/*.whl |