ci: Install cargo nextest 0.9.85 for Rust 1.80

The latest version needs 1.81 or newer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1624>
This commit is contained in:
Sebastian Dröge 2025-01-10 09:45:14 +02:00
parent 0283c7fe46
commit a83e0f31b2
2 changed files with 10 additions and 2 deletions

View file

@ -36,7 +36,11 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
cargo install --locked grcov
fi
cargo install --locked cargo-nextest
if [ "$RUST_VERSION" = "1.80.1" ]; then
cargo install --locked cargo-nextest@0.9.85
else
cargo install --locked cargo-nextest
fi
if [ "$RUST_VERSION" = "1.80.1" ]; then
cargo install --locked cargo-c --version 0.10.5+cargo-0.83

View file

@ -17,7 +17,11 @@ if (!$?) {
Exit 1
}
cargo install --locked cargo-nextest
if ("$env:RUST_VERSION" -eq "1.80.1") {
cargo install --locked cargo-nextest@0.9.85
} else {
cargo install --locked cargo-nextest
}
if (!$?) {
Write-Host "Failed to install cargo-nextest"