Skip to content

CI: Add workflow to build Python wheels #6

CI: Add workflow to build Python wheels

CI: Add workflow to build Python wheels #6

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
run: |
set -x
TARGET=${{ matrix.target }}
POLICY=$(echo "$TARGET" | cut -d: -f1)
ARCH=$(echo "$TARGET" | cut -d: -f2)
TAGS=$(echo "$TARGET" | cut -d: -f3)
make manylinux POLICY="$POLICY" ARCH="$ARCH" TAGS="$TAGS"