Skip to content

build wheel

build wheel #6

name: build wheel
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
# Enable ARM emulation
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
# Build wheels (x86_64 + aarch64)
- name: Build wheels
uses: pypa/cibuildwheel@v3.3.1
env:
CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_BUILD: "cp311-*"
CIBW_SKIP: "*-musllinux*"
- name: Upload wheel artifact
uses: actions/upload-artifact@v4
with:
name: python-wheels
path: wheelhouse/*.whl