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

Use prebuilt base image

parent eb1cf876
No related branches found
No related tags found
No related merge requests found
Pipeline #637 failed with stage
in 9 seconds
image: debian:bookworm image: cr.weirdboi.dev/base/rust:1-82
stages: stages:
- test - test
cache: &global_cache cache: &global_cache
...@@ -14,12 +14,6 @@ cache: &global_cache ...@@ -14,12 +14,6 @@ cache: &global_cache
variables: variables:
CARGO_HOME: ${CI_PROJECT_DIR}/.cargo CARGO_HOME: ${CI_PROJECT_DIR}/.cargo
before_script:
- 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 update
lint: lint:
stage: test stage: test
script: script:
...@@ -32,7 +26,6 @@ lint: ...@@ -32,7 +26,6 @@ lint:
test: test:
stage: test stage: test
script: script:
- cargo +nightly install junitify
- cargo +nightly test -- --format=json -Z unstable-options --report-time | junitify --out $CI_PROJECT_DIR/tests/ - cargo +nightly test -- --format=json -Z unstable-options --report-time | junitify --out $CI_PROJECT_DIR/tests/
artifacts: artifacts:
when: always when: always
......
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