Skip to content

Commit 081e800

Browse files
committed
feat: Add support for testing, building and publishing linux aarch64 wheels
1 parent ce9ca07 commit 081e800

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
matrix:
8787
os: [ubuntu-latest, windows-latest, macos-latest]
8888
arch: ["auto"]
89+
use_qemu: [false]
8990

9091
include:
9192
- os: windows-latest
@@ -94,11 +95,19 @@ jobs:
9495

9596
- os: macos-14
9697
arch: "arm64"
98+
99+
- os: ubuntu-latest
100+
arch: "aarch64"
101+
use_qemu: true
97102
steps:
98103
- uses: actions/checkout@v4
99104
with:
100105
fetch-depth: 0
101106

107+
- name: Set up QEMU
108+
uses: docker/[email protected]
109+
if: matrix.use_qemu
110+
102111
- uses: pypa/[email protected]
103112
env:
104113
CIBW_BUILD: "cp312-*"

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,27 @@ jobs:
7878
- runs-on: macos-14
7979
python-version: cp312
8080
arch: "arm64"
81+
use_qemu: false
8182

8283
- runs-on: windows-latest
8384
python-version: cp312
8485
arch: "ARM64"
8586
test-skip: "*-win_arm64"
87+
use_qemu: false
8688

89+
- runs-on: ubuntu-latest
90+
python-version: cp312
91+
arch: "aarch64"
92+
use_qemu: true
8793
steps:
8894
- uses: actions/checkout@v4
8995
with:
9096
fetch-depth: 0
9197

98+
- name: Set up QEMU
99+
uses: docker/[email protected]
100+
if: matrix.use_qemu
101+
92102
- uses: pypa/[email protected]
93103
env:
94104
CIBW_BUILD: "${{ matrix.python-version }}-*"

s5cmdUrls.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ cmake_host_system_information(RESULT is_64bit QUERY IS_64BIT)
3131
set(archive "linux32")
3232
if(is_64bit)
3333
set(archive "linux64")
34+
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
35+
set(archive "linuxarm64")
36+
endif()
3437
endif()
3538

3639
if(APPLE)

0 commit comments

Comments
 (0)