Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ jobs:
manylinux: manylinux_2_28

# Linux aarch64 — AWS Graviton, Raspberry Pi, etc.
# Cross-compiled on the x86_64 runner using rust-cross container.
# rust-cross/manylinux_2_28-cross has no Python, so PYO3_CROSS_PYTHON_VERSION
# tells PyO3 which version to target without needing a Python binary.
# Uses the official pypa manylinux_2_28 aarch64 image via QEMU emulation.
# The rust-cross container has no Python, so we use the pypa image which has
# Python 3.11–3.13 preinstalled. Slower than cross-compilation but correct.
- os: ubuntu-latest
target: aarch64
manylinux: manylinux_2_28
pyo3_cross_python_version: "3.11"
container: quay.io/pypa/manylinux_2_28_aarch64

# macOS Apple Silicon (M1/M2/M3)
# Pin to Python 3.13: macos-latest ships Python 3.14 which PyO3 0.23.x
Expand Down Expand Up @@ -135,8 +135,6 @@ jobs:

- name: Build wheels
uses: PyO3/maturin-action@32307a466a178317e8c2ae343b38e73896a047be # v1.47.0
env:
PYO3_CROSS_PYTHON_VERSION: ${{ matrix.pyo3_cross_python_version }}
with:
command: build
args: >-
Expand All @@ -145,6 +143,7 @@ jobs:
--manifest-path coordinode-embedded/Cargo.toml
--out dist
manylinux: ${{ matrix.manylinux || 'auto' }}
container: ${{ matrix.container || '' }}
target: ${{ matrix.target }}
before-script-linux: |
if command -v dnf >/dev/null 2>&1; then
Expand Down
Loading