2024-08-12 15:38:15 +00:00
|
|
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
|
|
|
|
|
|
rustup --version
|
|
|
|
rustc --version
|
|
|
|
cargo --version
|
|
|
|
|
2024-11-29 09:05:22 +00:00
|
|
|
if ("$env:RUST_VERSION" -eq "1.80.1") {
|
|
|
|
cargo install --locked cargo-c --version 0.10.5+cargo-0.93
|
2024-08-13 06:33:36 +00:00
|
|
|
} else {
|
2024-11-29 07:48:11 +00:00
|
|
|
cargo install --locked cargo-c --version 0.10.7+cargo-0.84
|
2024-08-05 08:24:45 +00:00
|
|
|
}
|
2024-08-12 15:38:15 +00:00
|
|
|
|
|
|
|
if (!$?) {
|
|
|
|
Write-Host "Failed to install cargo-c"
|
|
|
|
Exit 1
|
|
|
|
}
|
|
|
|
|
2024-11-29 09:05:22 +00:00
|
|
|
cargo install --locked cargo-nextest
|
2024-08-20 17:48:04 +00:00
|
|
|
|
|
|
|
if (!$?) {
|
|
|
|
Write-Host "Failed to install cargo-nextest"
|
|
|
|
Exit 1
|
|
|
|
}
|
|
|
|
|
2024-08-12 15:38:15 +00:00
|
|
|
cargo-cbuild --version
|
2024-08-20 17:48:04 +00:00
|
|
|
cargo nextest --version
|