Skip to content

Build Wheels

Build Wheels #44

Workflow file for this run

name: Build Wheels
on:
workflow_dispatch:
push:
tags:
- '*'
env:
CIBW_SKIP: pp37* pp38* pp39* pp310* *-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]
with:
package-dir: ./python
output-dir: ./wheelhouse
# to supply options, put them in 'env', like:
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl