Fix check action on Windows ARM

- Update nextest (not required)
- Build nextest without self-update, which pulls in ring
- Disable running of tests in rsbridge, as it has no tests, and
requires host arch's python.lib to execute
- A double \ in CARGO_TARGET_DIR was breaking update_* tests
This commit is contained in:
Damien Elmes 2025-06-20 16:37:54 +07:00
parent cd71931506
commit d542ae9065
3 changed files with 3 additions and 2 deletions

View file

@ -162,7 +162,7 @@ impl BuildAction for CargoTest {
"cargo-nextest", "cargo-nextest",
CargoInstall { CargoInstall {
binary_name: "cargo-nextest", binary_name: "cargo-nextest",
args: "cargo-nextest --version 0.9.57 --locked", args: "cargo-nextest --version 0.9.99 --locked --no-default-features --features default-no-update",
}, },
)?; )?;
setup_flags(build) setup_flags(build)

View file

@ -12,6 +12,7 @@ description = "Anki's Rust library code Python bindings"
name = "rsbridge" name = "rsbridge"
crate-type = ["cdylib"] crate-type = ["cdylib"]
path = "lib.rs" path = "lib.rs"
test = false
[dependencies] [dependencies]
anki.workspace = true anki.workspace = true

View file

@ -1,5 +1,5 @@
@echo off @echo off
set CARGO_TARGET_DIR=%~dp0\..\out\rust set CARGO_TARGET_DIR=%~dp0..\out\rust
REM separate build+run steps so build env doesn't leak into subprocesses REM separate build+run steps so build env doesn't leak into subprocesses
cargo build -p runner --release || exit /b 1 cargo build -p runner --release || exit /b 1
out\rust\release\runner build %* || exit /b 1 out\rust\release\runner build %* || exit /b 1