Skip to content

Commit 77a1a6a

Browse files
BLD: build linux aarch64 wheels on github actions (#540)
1 parent 3e5f40a commit 77a1a6a

File tree

3 files changed

+15
-51
lines changed

3 files changed

+15
-51
lines changed

.circleci/config.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,27 @@ jobs:
9696
9797
build-wheels-linux:
9898
name: Build wheels on Linux
99-
runs-on: "ubuntu-latest"
99+
runs-on: ${{ matrix.os }}
100100
strategy:
101101
fail-fast: false
102102
matrix:
103103
include:
104104
# use manylinux2014 for older glibc platforms until discontinued
105105
- wheel_name: "pyogrio-wheel-linux-manylinux2014_x86_64"
106106
container: "ci/manylinux2014_x86_64-vcpkg-gdal.Dockerfile"
107+
os: ubuntu-latest
108+
arch: x86_64
107109

108110
# use manylinux_2_28 for any platforms with glibc>=2.28
109111
- wheel_name: "pyogrio-wheel-linux-manylinux_2_28_x86_64"
110112
container: "ci/manylinux_2_28_x86_64-vcpkg-gdal.Dockerfile"
113+
os: ubuntu-latest
114+
arch: x86_64
115+
116+
- wheel_name: "pyogrio-wheel-linux-manylinux_2_28_aarch64"
117+
container: "ci/manylinux_2_28_aarch64-vcpkg-gdal.Dockerfile"
118+
os: ubuntu-24.04-arm
119+
arch: aarch64
111120

112121
steps:
113122
- name: Checkout
@@ -128,7 +137,7 @@ jobs:
128137
with:
129138
context: .
130139
file: ${{ matrix.container }}
131-
tags: manylinux-vcpkg-gdal:latest
140+
tags: manylinux-${{ matrix.arch }}-vcpkg-gdal:latest
132141
push: false
133142
load: true
134143
cache-from: type=gha
@@ -243,6 +252,7 @@ jobs:
243252
[
244253
"ubuntu-latest",
245254
"ubuntu-22.04",
255+
"ubuntu-24.04-arm",
246256
"windows-latest",
247257
"macos-13",
248258
"macos-latest",
@@ -255,6 +265,8 @@ jobs:
255265
artifact: pyogrio-wheel-linux-manylinux_2_28_x86_64
256266
- os: "ubuntu-22.04"
257267
artifact: pyogrio-wheel-linux-manylinux_2_28_x86_64
268+
- os: "ubuntu-24.04-arm"
269+
artifact: pyogrio-wheel-linux-manylinux_2_28_aarch64
258270
- os: "windows-latest"
259271
artifact: pyogrio-wheel-x64-windows-dynamic-release
260272
- os: "macos-13"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Repository = "https://github.com/geopandas/pyogrio"
4343
[tool.cibuildwheel]
4444
skip = ["pp*", "*musllinux*"]
4545
archs = ["auto64"]
46-
manylinux-x86_64-image = "manylinux-vcpkg-gdal:latest"
46+
manylinux-x86_64-image = "manylinux-x86_64-vcpkg-gdal:latest"
4747
manylinux-aarch64-image = "manylinux-aarch64-vcpkg-gdal:latest"
4848
build-verbosity = 3
4949

0 commit comments

Comments
 (0)