Skip to content

Commit e54e867

Browse files
committed
fix(workflow): add linux aarch64/x86/x64
1 parent 21c48d5 commit e54e867

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/CI.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,29 @@ permissions:
2020

2121
jobs:
2222
linux:
23+
runs-on: ubuntu-latest
24+
strategy:
25+
matrix:
26+
target: [x86_64, x86]
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: actions/setup-python@v4
30+
with:
31+
python-version: '3.10'
32+
- name: Build wheels
33+
uses: PyO3/maturin-action@v1
34+
with:
35+
target: ${{ matrix.target }}
36+
args: --release --out dist --find-interpreter
37+
sccache: 'true'
38+
manylinux: auto
39+
- name: Upload wheels
40+
uses: actions/upload-artifact@v3
41+
with:
42+
name: wheels
43+
path: dist
44+
45+
linux_aarch64:
2346
runs-on: ubuntu-latest
2447
strategy:
2548
matrix:
@@ -106,7 +129,7 @@ jobs:
106129
name: Release
107130
runs-on: ubuntu-latest
108131
if: "startsWith(github.ref, 'refs/tags/')"
109-
needs: [linux, windows, macos, sdist]
132+
needs: [linux, linux_aarch64, windows, macos, sdist]
110133
steps:
111134
- uses: actions/download-artifact@v3
112135
with:

0 commit comments

Comments
 (0)