Skip to content

CI: Add workflow to build Python wheels #9

CI: Add workflow to build Python wheels

CI: Add workflow to build Python wheels #9

Workflow file for this run

name: Python wheels
on:
- pull_request
- push
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
target:
# https://quay.io/organization/pypa
# - "manylinux_2_28:x86_64:cp311-cp311 cp312-cp312"
- [ manylinux_2_28, aarch64, cp311-cp311 cp312-cp312 ]
# - "musllinux_1_1_x86_64:cp311-cp311 cp312-cp312"
# - "musllinux_1_1_x86_64:cp311-cp311 cp312-cp312"
steps:
- uses: actions/checkout@v4
- name: Build Python wheels
env:
POLICY: ${{ matrix.target[0] }}
ARCH: ${{ matrix.target[1] }}
TAGS: ${{ matrix.target[2] }}
run: |
make manylinux POLICY="$POLICY" ARCH="$ARCH" TAGS="$TAGS"