Skip to content
Snippets Groups Projects
Verified Commit eb1cf876 authored by Louis's avatar Louis :fire:
Browse files

Manually configure Rust in CI image

parent 95e4939f
No related branches found
No related tags found
No related merge requests found
Pipeline #634 failed with stage
in 6 seconds
image: rust:1.82 image: debian:bookworm
stages: stages:
- test - test
cache: &global_cache cache: &global_cache
...@@ -12,12 +12,13 @@ cache: &global_cache ...@@ -12,12 +12,13 @@ cache: &global_cache
policy: pull-push policy: pull-push
variables: variables:
RUSTUP_INIT_SKIP_PATH_CHECK: yes
CARGO_HOME: ${CI_PROJECT_DIR}/.cargo CARGO_HOME: ${CI_PROJECT_DIR}/.cargo
before_script: before_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
- rustup toolchain install stable
- rustup toolchain install nightly - rustup toolchain install nightly
- rustup update
lint: lint:
stage: test stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment