Skip to content

Commit da671fa

Browse files
committed
Add building linux aarch64 dist
1 parent 4c328ae commit da671fa

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

.github/workflows/release-pypi.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
types: [published]
1010

1111
jobs:
12-
build-wheels-manylinux:
12+
build-wheels-manylinux-x86_64:
1313
runs-on: ubuntu-24.04
14-
name: Build wheels for manylinux
14+
name: Build wheels for manylinux (x86_64)
1515
container: quay.io/pypa/manylinux_2_28_x86_64
1616

1717
steps:
@@ -23,7 +23,24 @@ jobs:
2323
- name: Upload wheels
2424
uses: actions/upload-artifact@v4
2525
with:
26-
name: manylinux-wheels
26+
name: manylinux-wheels-x86_64
27+
path: ./target/wheels/*whl
28+
29+
build-wheels-manylinux-aarch64:
30+
runs-on: ubuntu-24.04-arm
31+
name: Build wheels for manylinux (aarch64)
32+
container: quay.io/pypa/manylinux_2_28_aarch64
33+
34+
steps:
35+
- uses: actions/checkout@v1
36+
37+
- name: Install Maturin and Build manylinux2014 packages
38+
run: sh build_manylinux_wheels.sh
39+
40+
- name: Upload wheels
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: manylinux-wheels-aarch64
2744
path: ./target/wheels/*whl
2845

2946
build-wheels-macos:
@@ -61,7 +78,7 @@ jobs:
6178
publish-to-pypi:
6279
name: Publish to PyPI
6380
runs-on: ubuntu-24.04
64-
needs: [build-wheels-manylinux, build-wheels-macos]
81+
needs: [build-wheels-manylinux-x86_64, build-wheels-manylinux-aarch64, build-wheels-macos]
6582
if: github.event_name == 'release' && github.event.action == 'published'
6683

6784
steps:

0 commit comments

Comments
 (0)