Skip to content

Commit

Permalink
CI: build wheels on a real ARM runner
Browse files Browse the repository at this point in the history
Drop PowerPC wheels (for now).
  • Loading branch information
jdavid committed Feb 2, 2025
1 parent 0f54268 commit 711a439
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
include:
- name: linux
os: ubuntu-24.04
- name: linux-arm
os: ubuntu-24.04-arm
- name: macos
os: macos-13

Expand All @@ -26,11 +28,6 @@ jobs:
with:
python-version: '3.11'

- uses: docker/setup-qemu-action@v3
if: runner.os == 'Linux'
with:
platforms: all

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.22.0

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = ["setuptools", "wheel"]
enable = ["pypy"]
skip = "*musllinux_aarch64 *musllinux_ppc64le"

archs = ["auto"]
archs = ["native"]
build-frontend = "default"
dependency-versions = "pinned"
environment = {LIBGIT2_VERSION="1.9.0", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/project/ci"}
Expand All @@ -14,7 +14,6 @@ before-all = "sh build.sh"

[tool.cibuildwheel.linux]
repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib64 auditwheel repair -w {dest_dir} {wheel}"
archs = ["x86_64", "aarch64", "ppc64le"]

[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
Expand Down

0 comments on commit 711a439

Please sign in to comment.