Skip to content

Add PEP-517 Support

Add PEP-517 Support #2

Workflow file for this run

name: Build wheels
on: [push, pull_request]
jobs:
unix:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, macos-13, macos-14]
arch: [auto, aarch64]
include:
- os: macos-13
macos_deployment_target: 13
- os: macos-14
macos_deployment_target: 14
exclude:
- os: macos-13
arch: aarch64
- os: macos-14
arch: aarch64
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.19.1
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos_deployment_target }}
CIBW_ARCHS: ${{ matrix.arch }}
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl