install: add "str" to make numpy import go smoothly #10
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: | |
push: | |
tags: | |
- '*' | |
env: | |
CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* cp36* pp27* pp36* pp37* *-musllinux* | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{matrix.arch}} for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-2019, macos-latest] | |
arch: [auto] | |
include: | |
- os: ubuntu-20.04 | |
arch: aarch64 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up QEMU | |
if: ${{ matrix.arch == 'aarch64' }} | |
uses: docker/setup-qemu-action@v1 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
# to supply options, put them in 'env', like: | |
env: | |
CIBW_ARCHS_LINUX: ${{matrix.arch}} | |
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy setuptools wheel | |
CIBW_ARCHS_MACOS: "x86_64 arm64" | |
- uses: actions/upload-artifact@v2 | |
with: | |
path: ./wheelhouse/*.whl |