Skip to content

Wheel builder

Wheel builder #36

Workflow file for this run

name: Wheel builder
on: workflow_dispatch
jobs:
build_wheels:
name: ${{ matrix.os }}, ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Setup QEMU
if: ${{ runner.os == 'Linux' }}
uses: docker/setup-qemu-action@v3
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: "cp3*-*"
CIBW_SKIP: "*-musllinux_*"
CIBW_ARCHS_WINDOWS: "auto"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_BEFORE_ALL_LINUX: yum install -y libusb1-devel libudev-devel
- name: Store artifacts
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl