Skip to content

Commit a506a73

Browse files
Add arm64 for linux (#106)
* Add arm64 for linux * add ubuntu-24.04-arm runner * add test for ubuntu-24.04-arm
1 parent 45d80d0 commit a506a73

File tree

4 files changed

+2488
-137
lines changed

4 files changed

+2488
-137
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [ubuntu-latest, windows-latest, macos-latest]
14+
os: [ubuntu-latest, windows-latest, macos-latest, ubuntu-24.04-arm]
1515
runs-on: ${{ matrix.os }}
1616

1717
steps:
@@ -43,12 +43,12 @@ jobs:
4343
run: |
4444
pixi run -e nogil nogil-eta
4545
- name: Test coverage
46-
if: runner.os == 'Linux'
46+
if: matrix.os == 'ubuntu-latest'
4747
shell: bash
4848
run: |
4949
FMT=xml pixi run -e dev test-coverage
5050
- name: Upload coverage reports to Codecov
51-
if: runner.os == 'Linux'
51+
if: matrix.os == 'ubuntu-latest'
5252
uses: codecov/codecov-action@v5
5353
with:
5454
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/wheel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
os: [ubuntu-latest, windows-latest, macos-latest]
31+
os: [ubuntu-latest, windows-latest, macos-latest, ubuntu-24.04-arm]
3232
runs-on: ${{ matrix.os }}
3333
steps:
3434
- uses: actions/checkout@v4
3535
- name: Build wheels
3636
uses: pypa/[email protected]
3737
env:
3838
CIBW_BUILD: cp3*-*
39-
CIBW_SKIP: pp* *i686* *musllinux* *-macosx_universal2 *-manylinux_ppc64le *-manylinux_s390x
39+
CIBW_SKIP: "*_i686 *_ppc64le *_s390x *_universal2 *-musllinux_*"
4040
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
41-
CIBW_ARCHS_LINUX: auto64
41+
CIBW_ARCHS_LINUX: auto
4242
CIBW_ARCHS_MACOS: x86_64 arm64
43-
CIBW_ARCHS_WINDOWS: auto64
43+
CIBW_ARCHS_WINDOWS: AMD64
4444
# Include free-threaded support
4545
CIBW_ENABLE: cpython-freethreading
4646
- name: Upload package

0 commit comments

Comments
 (0)