Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to using native ARM runners for wheel builds #1031

Merged
merged 1 commit into from
Jan 17, 2025
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
26 changes: 16 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,35 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
os:
[
ubuntu-24.04-arm,
bdraco marked this conversation as resolved.
Show resolved Hide resolved
ubuntu-latest,
macos-13,
macos-latest,
]
musl: ["", "musllinux"]
exclude:
- os: macos-13
musl: "musllinux"
- os: macos-latest
musl: "musllinux"

steps:
- uses: actions/checkout@v4

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* cp310-* pp* *musllinux*
CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* cp310-* pp* ${{ matrix.musl == 'musl' && '*manylinux*' || '*musllinux*' }}
bdraco marked this conversation as resolved.
Show resolved Hide resolved
CIBW_BEFORE_ALL_LINUX: apt-get install -y gcc || yum install -y gcc || apk add gcc
CIBW_ARCHS_LINUX: ${{ matrix.os == 'ubuntu-24.04-arm' && 'aarch64' || 'auto' }}
bdraco marked this conversation as resolved.
Show resolved Hide resolved
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_LINUX: auto aarch64
REQUIRE_CYTHON: 1

- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}-${{ matrix.musl }}
path: ./wheelhouse/*.whl

build_sdist:
Expand Down
Loading