Skip to content

wheels for x86_64 and aarch64 #1

wheels for x86_64 and aarch64

wheels for x86_64 and aarch64 #1

name: Build and test all wheels
on:
push:
branches:
master
jobs:
build_wheels:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-14 ] # macos-14 is apple silicon
runs-on: ${{ matrix.os }}
name: build and test wheels on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_PRERELEASE_PYTHONS: False
CIBW_SKIP: "cp36* cp313-* pp* *musllinux*"
CIBW_BUILD_FRONTEND: "build"
CIBW_BEFORE_BUILD: pip install numpy>=1.14 pybind11>=2.2
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest -v {project}"
CIBW_TEST_SKIP: "*-win_arm64"
CIBW_ARCHS_LINUX: "aarch64"
CIBW_ARCHS_MACOS: "arm64"
CIBW_ARCHS_WINDOWS: "ARM64"
- name: upload wheel artifacts temporarily
uses: actions/upload-artifact@v4
with:
name: cliquematch-wheels-aarch64-${{ matrix.os }}
path: ./wheelhouse/*.whl
retention-days: 1