temp: verify crash on manylinux aarch64 #44
Workflow file for this run
This file contains hidden or 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: Upload to PyPI | |
on: | |
push: | |
branches-ignore: [master] | |
tags: ["v*"] | |
jobs: | |
build-sdist: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Build sources | |
run: |- | |
pip install build | |
python -mbuild -n -s | |
- name: Upload sources | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist-sources | |
path: dist/*.tar.gz | |
retention-days: 2 | |
build-wheels: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
include: | |
- { os: windows-2022, cibw_arch: AMD64 } | |
- { os: windows-11-arm, cibw_arch: ARM64 } | |
- { os: ubuntu-24.04, cibw_arch: x86_64 } | |
- { os: ubuntu-24.04-arm, cibw_arch: aarch64 } | |
- { os: macos-15, cibw_arch: arm64 } | |
- { os: macos-13, cibw_arch: x86_64 } | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Build wheels | |
uses: pypa/[email protected] | |
env: | |
CIBW_ARCHS: ${{matrix.cibw_arch}} | |
CIBW_SKIP: "*-musllinux_aarch64" | |
# FIXME: stop skipping when the tests stop crashing | |
CIBW_TEST_SKIP: "*-win_*" | |
CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64:2025.07.20-2 | |
- name: Upload wheels | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist-wheels-${{matrix.os}}-${{matrix.cibw_arch}} | |
path: wheelhouse/*.whl | |
retention-days: 2 | |
release: | |
if: github.ref_type == 'tag' | |
runs-on: ubuntu-latest | |
needs: [build-sdist, build-wheels] | |
steps: | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
path: dist | |
pattern: dist-* | |
merge-multiple: true | |
- name: Check artifacts | |
run: ls -l dist | |
- name: Upload to pypi | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{secrets.PYPI_API_TOKEN}} | |
- name: Create GitHub release | |
run: gh release create "$GITHUB_REF_NAME" --generate-notes | |
env: | |
GH_TOKEN: ${{github.token}} | |
GH_REPO: ${{github.repository}} |