File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/setup-qemu-action@v3.0.0
109+ if : matrix.use_qemu
110+
102111 - uses : pypa/cibuildwheel@v2.16.5
103112 env :
104113 CIBW_BUILD : " cp312-*"
Original file line number Diff line number Diff 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/setup-qemu-action@v3.0.0
100+ if : matrix.use_qemu
101+
92102 - uses : pypa/cibuildwheel@v2.16.5
93103 env :
94104 CIBW_BUILD : " ${{ matrix.python-version }}-*"
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ cmake_host_system_information(RESULT is_64bit QUERY IS_64BIT)
3131set (archive "linux32" )
3232if (is_64bit)
3333 set (archive "linux64" )
34+ if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64" )
35+ set (archive "linuxarm64" )
36+ endif ()
3437endif ()
3538
3639if (APPLE )
You can’t perform that action at this time.
0 commit comments