Version post1 bump #48
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: Build Python Aarch64 wheels on Manylinux | |
on: | |
push: | |
paths-ignore: | |
- '.github/workflows/macos-wheels.yml' | |
- '.github/workflows/manylinux-wheels.yml' | |
- 'Python/make_deps_macos.sh' | |
- 'Python/make_deps_linux.sh' | |
- 'Python/check_mac_universal.py' | |
defaults: | |
run: | |
working-directory: Python | |
jobs: | |
build_wheels: | |
name: Build Python Aarch64 wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-24.04-arm #change recommended by https://github.com/pypa/cibuildwheel/discussions/2256 | |
cibw_archs: "aarch64" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
with: | |
package-dir: Python | |
output-dir: wheelhouse | |
config-file: "{package}/pyproject.toml" | |
env: | |
CIBW_ARCHS: ${{ matrix.cibw_archs }} | |
CIBW_SKIP: "*musllinux* pp*" | |
#This has to be here rather than a separate build step since the Linux cibuildwheel launches Docker containers | |
CIBW_BEFORE_ALL: "Python/make_deps_linux_aarch64.sh" | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: wheelhouse/*.whl |