Skip to content
Snippets Groups Projects
Commit a9d26cd6 authored by Udo Eisenbarth's avatar Udo Eisenbarth :speech_balloon:
Browse files

improve CI config

parent 849ba805
No related branches found
No related tags found
No related merge requests found
Pipeline #7342 passed with warnings
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image: "rust:latest"
default:
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image: "rust:latest"
# Optional: Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
......@@ -19,7 +20,7 @@ image: "rust:latest"
stages:
- test
- build
# - deploy
- deploy
# Build the main application (currently mostly useless)
build-main:
......@@ -48,7 +49,7 @@ test:cargo:
- export HTTP_PROXY=lxproxy01.gsi.de:3128
- export https_proxy=lxproxy01.gsi.de:3128
- export http_proxy=lxproxy01.gsi.de:3128
- rustc --version && cargo --version # Print version info for debugging
- rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace
test:clippy:
stage: test
......@@ -58,7 +59,7 @@ test:clippy:
- export https_proxy=lxproxy01.gsi.de:3128
- export http_proxy=lxproxy01.gsi.de:3128
- cargo clippy --workspace
allow_failure: true
allow_failure: true
# Optional: Use a third party library to generate gitlab junit reports
# test:junit-report:
# script:
......
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