forked from mirrors/gstreamer-rs
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:
|
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_VERSION=$1
|
||||||
RUST_ARCH="x86_64-unknown-linux-gnu"
|
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
|
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
|
||||||
wget $RUSTUP_URL
|
wget $RUSTUP_URL
|
||||||
|
|
||||||
|
@ -19,9 +23,9 @@ rustup --version
|
||||||
cargo --version
|
cargo --version
|
||||||
rustc --version
|
rustc --version
|
||||||
|
|
||||||
if [ "$RUST_VERSION" = "stable" ]; then
|
if [ "$RUST_VERSION" = "1.44.1" ]; then
|
||||||
rustup component add clippy-preview
|
rustup component add clippy-preview --toolchain $RUST_VERSION
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt --toolchain $RUST_VERSION
|
||||||
cargo install --force cargo-deny
|
cargo install --force cargo-deny
|
||||||
cargo install --force --git https://github.com/kbknapp/cargo-outdated
|
cargo install --force --git https://github.com/kbknapp/cargo-outdated
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue