Add generation of type for decode data parameter (python) #83
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, pull_request] | |
jobs: | |
unix: | |
name: ${{ matrix.os }} | ${{ matrix.arch }} | ${{ matrix.python }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# macos-13 is an intel runner, macos-14 is apple silicon | |
os: [ubuntu-latest, macos-13, macos-14] | |
arch: [auto, aarch64] | |
python: [cp37-*, cp38-*, cp39-*, cp310-*, cp311-*, cp312-*, cp313-*] | |
include: | |
- os: macos-13 | |
macos_deployment_target: 13 | |
- os: macos-14 | |
macos_deployment_target: 14 | |
exclude: | |
- os: macos-13 | |
arch: aarch64 | |
- os: macos-13 | |
python: cp37-* | |
- os: macos-13 | |
python: cp310-* | |
- os: macos-14 | |
arch: aarch64 | |
- os: macos-14 | |
python: cp37-* | |
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/[email protected] | |
env: | |
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos_deployment_target }} | |
CIBW_ARCHS: ${{ matrix.arch }} | |
CIBW_BUILD: ${{ matrix.python }} | |
CIBW_TEST_REQUIRES: pytest | |
CIBW_TEST_COMMAND: "pytest {project}" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | |
path: ./wheelhouse/*.whl |