mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 04:51:09 +00:00
ce13ac33fd
Close #519 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1502>
31 lines
700 B
PowerShell
31 lines
700 B
PowerShell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
|
|
rustup --version
|
|
rustc --version
|
|
cargo --version
|
|
|
|
if ("$env:RUST_VERSION" -eq "1.71.1") {
|
|
cargo install --locked cargo-c --version 0.9.26+cargo-0.74
|
|
} else {
|
|
cargo install --locked cargo-c --version 0.10.3+cargo-0.81
|
|
}
|
|
|
|
if (!$?) {
|
|
Write-Host "Failed to install cargo-c"
|
|
Exit 1
|
|
}
|
|
|
|
# Multiple dependencies of cargo-nextest require 1.74/1.75 nowadays
|
|
if ("$env:RUST_VERSION" -eq "1.71.1") {
|
|
cargo install --locked cargo-nextest@0.9.67
|
|
} else {
|
|
cargo install --locked cargo-nextest
|
|
}
|
|
|
|
if (!$?) {
|
|
Write-Host "Failed to install cargo-nextest"
|
|
Exit 1
|
|
}
|
|
|
|
cargo-cbuild --version
|
|
cargo nextest --version
|