Skip to content

Commit 29122d1

Browse files
committed
CI: build wheels on a real ARM runner
1 parent 0f54268 commit 29122d1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
- ci
78
tags:
89
- 'v*'
910

@@ -16,6 +17,8 @@ jobs:
1617
include:
1718
- name: linux
1819
os: ubuntu-24.04
20+
- name: linux-arm
21+
os: ubuntu-24.04-arm
1922
- name: macos
2023
os: macos-13
2124

@@ -26,11 +29,6 @@ jobs:
2629
with:
2730
python-version: '3.11'
2831

29-
- uses: docker/setup-qemu-action@v3
30-
if: runner.os == 'Linux'
31-
with:
32-
platforms: all
33-
3432
- name: Install cibuildwheel
3533
run: python -m pip install cibuildwheel==2.22.0
3634

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = ["setuptools", "wheel"]
55
enable = ["pypy"]
66
skip = "*musllinux_aarch64 *musllinux_ppc64le"
77

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

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

1918
[[tool.cibuildwheel.overrides]]
2019
select = "*-musllinux*"

0 commit comments

Comments
 (0)