ci: update Rust to 1.80.1 and cargo-c to 10.3

And use cargo install --locked

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7326>
This commit is contained in:
Tim-Philipp Müller 2024-08-10 20:13:33 +01:00 committed by GStreamer Marge Bot
parent 3428d7f511
commit 2263caff45
3 changed files with 7 additions and 7 deletions

View File

@ -5,12 +5,12 @@ variables:
# If you are hacking on them or need a them to rebuild, its enough # If you are hacking on them or need a them to rebuild, its enough
# to change any part of the string of the image you want. # to change any part of the string of the image you want.
### ###
FEDORA_TAG: '2024-08-08.1' FEDORA_TAG: '2024-08-10.2'
DEBIAN_TAG: '2024-08-08.1' DEBIAN_TAG: '2024-08-10.2'
INDENT_TAG: '2024-05-28.0' INDENT_TAG: '2024-05-28.0'
LINT_TAG: '2024-02-20.0' LINT_TAG: '2024-02-20.0'
WINDOWS_TAG: '2024-08-08.1' WINDOWS_TAG: '2024-08-10.2'

View File

@ -1,6 +1,6 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
$rust_version = '1.77.2' $rust_version = '1.80.1'
$rustup_url = 'https://win.rustup.rs/x86_64' $rustup_url = 'https://win.rustup.rs/x86_64'
Invoke-WebRequest -Uri $rustup_url -OutFile C:\rustup-init.exe Invoke-WebRequest -Uri $rustup_url -OutFile C:\rustup-init.exe

View File

@ -3,8 +3,8 @@
set -eux set -eux
# Install Rust # Install Rust
RUSTUP_VERSION=1.27.0 RUSTUP_VERSION=1.27.1
RUST_VERSION=1.77.2 RUST_VERSION=1.80.1
RUST_ARCH="x86_64-unknown-linux-gnu" RUST_ARCH="x86_64-unknown-linux-gnu"
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
@ -19,7 +19,7 @@ chmod +x rustup-init;
rm rustup-init; rm rustup-init;
chmod -R a+w $RUSTUP_HOME $CARGO_HOME chmod -R a+w $RUSTUP_HOME $CARGO_HOME
cargo install cargo-c --version 0.9.31+cargo-0.78.0 cargo install --locked cargo-c --version 0.10.3+cargo-0.81.0
rustup --version rustup --version
cargo --version cargo --version