Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ruihe774 committed Jul 12, 2024
1 parent 39d8dcf commit 7d81fb8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ jobs:
with:
python-version: "3.12"
cache: pip
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: "-C target-cpu=x86-64-v3"
- name: Install dependencies
run: python -mpip install maturin
run: python -mpip install maturin[zig]
- name: Build sdist
run: maturin sdist --out dist
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
args: --release --out dist
manylinux: manylinux2014
run: maturin build --release --out dist --compatibility manylinux2014 --zig
- name: Upload dist
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 7d81fb8

Please sign in to comment.