Skip to content

Commit

Permalink
CI: use ubuntu-24.04-arm instead of QEMU to build ARM-based wheels (#351
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mwtoews authored Mar 3, 2025
1 parent ed38b45 commit 4da4606
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
os:
- windows-latest
- ubuntu-latest
- ubuntu-24.04-arm
- macos-latest

steps:
- uses: actions/checkout@v4

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

- uses: actions/setup-python@v5
name: Install Python
with:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}"
test-requires = "tox"
test-command = "tox --conf {project} --installpkg {wheel}"
test-skip = [
"*aarch64", # slow!
"*-macosx_arm64",
]

[tool.cibuildwheel.linux]
archs = ["auto", "aarch64"]
archs = ["auto"]
before-build = [
"yum install -y cmake libffi-devel",
"sh {project}/scripts/install_libspatialindex.sh",
Expand Down

0 comments on commit 4da4606

Please sign in to comment.