mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-02-24 14:56:24 +00:00
32 lines
667 B
PowerShell
32 lines
667 B
PowerShell
$env:ErrorActionPreference='Stop'
|
|
|
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
|
|
rustup --version
|
|
rustc --version
|
|
cargo --version
|
|
|
|
if ("$env:RUST_VERSION" -eq "1.80.1") {
|
|
cargo install --locked cargo-c --version 0.10.5+cargo-0.93
|
|
} else {
|
|
cargo install --locked cargo-c --version 0.10.9+cargo-0.85
|
|
}
|
|
|
|
if (!$?) {
|
|
Write-Host "Failed to install cargo-c"
|
|
Exit 1
|
|
}
|
|
|
|
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"
|
|
Exit 1
|
|
}
|
|
|
|
cargo-cbuild --version
|
|
cargo nextest --version
|