About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2025-09-17 14:32:12 +0200
committerMarge Bot <marge-bot@fdo.invalid>2025-09-19 17:28:41 +0000
commita8f49aa5f2afd07dafee4f259f427a07dcff277c (patch)
tree4db12b5f69b99889c1e3eb6b49ffb5fb0a1c5235 /.gitlab-ci
parent3edcbecec8d512fe8ddd42fcd79e9e85b705a361 (diff)
ci/rust: install components with the initial install command
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37414>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/container/build-rust.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci/container/build-rust.sh b/.gitlab-ci/container/build-rust.sh
index 60dd06f7658..137e7f48d7b 100644
--- a/.gitlab-ci/container/build-rust.sh
+++ b/.gitlab-ci/container/build-rust.sh
@@ -24,14 +24,13 @@ curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
--proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
--default-toolchain $RUST_VERSION \
--profile minimal \
+ --component clippy,rustfmt \
-y
# Make rustup tools available in the PATH environment variable
# shellcheck disable=SC1091
. "$HOME/.cargo/env"
-rustup component add clippy rustfmt
-
# Set up a config script for cross compiling -- cargo needs your system cc for
# linking in cross builds, but doesn't know what you want to use for system cc.
cat > "$HOME/.cargo/config" <<EOF