mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
ci: Don't use --locked for cargo-outdated / grcov with 1.80 / nightly
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1491>
This commit is contained in:
parent
57f407fa89
commit
326e5861f3
1 changed files with 12 additions and 2 deletions
|
@ -27,12 +27,22 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
|
|
||||||
cargo install --locked --force cargo-deny
|
cargo install --locked --force cargo-deny
|
||||||
|
if [ "$RUST_VERSION" = "nightly" -o "$RUST_VERSION" = "1.80.0" ]; then
|
||||||
|
# Don't use --locked because time-0.3.30 does not build with 1.80 or newer
|
||||||
|
cargo install --force cargo-outdated
|
||||||
|
else
|
||||||
cargo install --locked --force cargo-outdated
|
cargo install --locked --force cargo-outdated
|
||||||
|
fi
|
||||||
cargo install --locked --force typos-cli --version "1.19.0"
|
cargo install --locked --force typos-cli --version "1.19.0"
|
||||||
|
|
||||||
# Coverage tools
|
# Coverage tools
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
|
if [ "$RUST_VERSION" = "nightly" -o "$RUST_VERSION" = "1.80.0" ]; then
|
||||||
|
# Don't use --locked because time-0.3.30 does not build with 1.80 or newer
|
||||||
|
cargo install --force grcov
|
||||||
|
else
|
||||||
cargo install --locked --force grcov
|
cargo install --locked --force grcov
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$RUST_VERSION" = "nightly" -o "$RUST_VERSION" = "1.80.0" ]; then
|
if [ "$RUST_VERSION" = "nightly" -o "$RUST_VERSION" = "1.80.0" ]; then
|
||||||
|
|
Loading…
Reference in a new issue