mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +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/1506>
This commit is contained in:
parent
29e8c2cfba
commit
160c650404
1 changed files with 12 additions and 2 deletions
|
@ -27,12 +27,22 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
|||
rustup component add rustfmt
|
||||
|
||||
cargo install --locked --force cargo-deny
|
||||
cargo install --locked --force cargo-outdated
|
||||
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
|
||||
fi
|
||||
cargo install --locked --force typos-cli --version "1.19.0"
|
||||
|
||||
# Coverage tools
|
||||
rustup component add llvm-tools-preview
|
||||
cargo install --locked --force grcov
|
||||
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
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$RUST_VERSION" = "nightly" -o "$RUST_VERSION" = "1.80.0" ]; then
|
||||
|
|
Loading…
Reference in a new issue