Commit f4730f3d authored by Robert Czechowski's avatar Robert Czechowski

.gitlab.ci: Unify CI steps to reduce caching overhead and set CACHE_COMPRESSION_LEVEL: 0

parent adde0333
Pipeline #721 passed with stage
in 2 minutes and 6 seconds
......@@ -3,12 +3,12 @@ image: 'rust:latest'
stages:
- test
- build
- testdeploy
- deploy
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
APT_CACHE_DIR: $CI_PROJECT_DIR/apt
CACHE_COMPRESSION_LEVEL: 0
......@@ -18,36 +18,19 @@ test:
- rustc --version
- cargo --version
- make stricttest
clippy:
stage: test
script:
- rustup component add clippy
- make clippy
documentation:
stage: build
script:
- make doc
only:
- master
- deploy
build:
stage: build
script:
- make dynrelease
- make doc
only:
- master
- deploy
testdeploy:
stage: testdeploy
script:
# Setup SSH deploy keys
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment