mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
ci: Use Rust 1.44.1 explicitly for the 0.16 branch
This commit is contained in:
parent
cc34b34455
commit
512f5b52fc
2 changed files with 8 additions and 4 deletions
|
@ -1,2 +1,2 @@
|
|||
variables:
|
||||
GST_RS_IMG_TAG: '2020-08-11.0-0.16'
|
||||
GST_RS_IMG_TAG: '2020-08-11.2-0.16'
|
||||
|
|
|
@ -7,6 +7,10 @@ RUSTUP_VERSION=1.21.1
|
|||
RUST_VERSION=$1
|
||||
RUST_ARCH="x86_64-unknown-linux-gnu"
|
||||
|
||||
if [ "$RUST_VERSION" = "stable" ]; then
|
||||
RUST_VERSION="1.44.1"
|
||||
fi
|
||||
|
||||
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
||||
wget $RUSTUP_URL
|
||||
|
||||
|
@ -19,9 +23,9 @@ rustup --version
|
|||
cargo --version
|
||||
rustc --version
|
||||
|
||||
if [ "$RUST_VERSION" = "stable" ]; then
|
||||
rustup component add clippy-preview
|
||||
rustup component add rustfmt
|
||||
if [ "$RUST_VERSION" = "1.44.1" ]; then
|
||||
rustup component add clippy-preview --toolchain $RUST_VERSION
|
||||
rustup component add rustfmt --toolchain $RUST_VERSION
|
||||
cargo install --force cargo-deny
|
||||
cargo install --force --git https://github.com/kbknapp/cargo-outdated
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue