Skip to content

Commit 7f7798e

Browse files
authored
feat: add ubuntu-24.04-arm for build (#50)
1 parent 15cbedf commit 7f7798e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
38+
os: ["ubuntu-latest", "windows-latest", "macos-latest", "ubuntu-24.04-arm"]
3939
steps:
4040
- uses: actions/checkout@v4
4141
- name: Set up Python 3.12
@@ -87,6 +87,16 @@ jobs:
8787
args: -m packages/pyo3/Cargo.toml --release --sdist
8888
manylinux: 2014
8989

90+
- uses: PyO3/maturin-action@v1
91+
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
92+
name: Maturin Build for Linux
93+
with:
94+
maturin-version: 1.4.0
95+
command: build
96+
target: aarch64
97+
args: -m packages/pyo3/Cargo.toml --release --sdist
98+
manylinux: 2014
99+
90100
- name: Python Unittests
91101
run: |
92102
cd packages/pyo3

0 commit comments

Comments
 (0)