From 7d81fb8e13f57a923a351f677d9f0338ea8fb657 Mon Sep 17 00:00:00 2001 From: Misaki Kasumi Date: Sat, 13 Jul 2024 00:48:01 +0800 Subject: [PATCH] update CI --- .github/workflows/CI.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 646ddde..112f6d9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: