mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
cd71931506
commit
d542ae9065
3 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue