Skip to content

Commit 422308d

Browse files
authored
fix: build (#218)
1 parent c5a9b0c commit 422308d

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,37 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
target: [x86_64, aarch64]
17+
target: [x86_64]
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Install system dependencies
23+
run: sudo apt-get update && sudo apt-get install -y musl-tools
24+
25+
- name: Setup Rust
26+
uses: dtolnay/rust-toolchain@stable
27+
28+
- name: Build wheels
29+
uses: PyO3/maturin-action@v1
30+
with:
31+
target: ${{ matrix.target }}
32+
args: --release --out dist --interpreter 3.9 3.10 3.11 3.12 3.13
33+
sccache: 'true'
34+
manylinux: auto
35+
36+
- name: Upload wheels
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: wheels-linux-${{ matrix.target }}
40+
path: dist
41+
42+
linux-aarch64:
43+
name: Build Linux wheels (${{ matrix.target }})
44+
runs-on: ubuntu-24.04-arm
45+
strategy:
46+
matrix:
47+
target: [aarch64]
1848
steps:
1949
- name: Checkout repository
2050
uses: actions/checkout@v4

0 commit comments

Comments
 (0)