Skip to content

Commit b11d865

Browse files
authored
Add support for aarch64 (#2973)
<!-- Thanks for opening a pull request! --> <!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. --> Closes #2970 # Rationale for this change This should allow us to build aarch64 wheels on Linux. We have to use QEMU since GitHub doesn't have arm64 Linux runners (just Mac). ## Are these changes tested? Testing CI is awful! We shouldn't merge this in until after 0.11 and then see what happens. ## Are there any user-facing changes? <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent 5b8f478 commit b11d865

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/pypi-build-artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ${{ matrix.os }}
3333
strategy:
3434
matrix:
35-
os: [ ubuntu-latest, windows-latest, macos-15-intel, macos-latest ]
35+
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-15-intel, macos-latest ]
3636

3737
steps:
3838
- uses: actions/checkout@v6
@@ -59,7 +59,7 @@ jobs:
5959
# the repository, otherwise the tests will fail
6060
- name: Compile source distribution
6161
run: uv build --sdist
62-
if: startsWith(matrix.os, 'ubuntu')
62+
if: matrix.os == 'ubuntu-latest'
6363

6464
- name: Build wheels
6565
uses: pypa/cibuildwheel@v3.3.1
@@ -77,7 +77,7 @@ jobs:
7777

7878

7979
- name: Add source distribution
80-
if: startsWith(matrix.os, 'ubuntu')
80+
if: matrix.os == 'ubuntu-latest'
8181
run: ls -lah dist/* && cp dist/* wheelhouse/
8282

8383
- uses: actions/upload-artifact@v4

.github/workflows/svn-build-artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ${{ matrix.os }}
3333
strategy:
3434
matrix:
35-
os: [ ubuntu-latest, windows-latest, macos-15-intel, macos-latest ]
35+
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-15-intel, macos-latest ]
3636

3737
steps:
3838
- uses: actions/checkout@v6
@@ -54,7 +54,7 @@ jobs:
5454
# the repository, otherwise the tests will fail
5555
- name: Compile source distribution
5656
run: uv build --sdist
57-
if: startsWith(matrix.os, 'ubuntu')
57+
if: matrix.os == 'ubuntu-latest'
5858

5959
- name: Build wheels
6060
uses: pypa/cibuildwheel@v3.3.1
@@ -71,7 +71,7 @@ jobs:
7171
CIBW_SKIP: "cp3*t-*"
7272

7373
- name: Add source distribution
74-
if: startsWith(matrix.os, 'ubuntu')
74+
if: matrix.os == 'ubuntu-latest'
7575
run: ls -lah dist/* && cp dist/* wheelhouse/
7676

7777
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)