From 57412f1a2943dae1a34ef3ecae3f8c1381ab2b9a Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 12 Apr 2022 17:04:40 +0800 Subject: [PATCH] Install cargo-xwin from PyPI to speedup CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb2ef4353a6..07013451403 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -278,7 +278,7 @@ jobs: run: | sudo apt-get install -y mingw-w64 llvm rustup target add x86_64-pc-windows-gnu x86_64-pc-windows-msvc - which cargo-xwin > /dev/null || cargo install cargo-xwin + python -m pip install cargo-xwin cargo build --manifest-path examples/maturin-starter/Cargo.toml --features abi3 --target x86_64-pc-windows-gnu cargo xwin build --manifest-path examples/maturin-starter/Cargo.toml --features abi3 --target x86_64-pc-windows-msvc - name: Test cross compile to Windows with maturin