Merge branch 'xMAC94x/fix-cache-check' into 'master'

fix CI cache for cargo check

See merge request veloren/veloren!1688
This commit is contained in:
Marcel 2021-01-12 02:04:12 +00:00
commit 11deb97d5a
2 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,8 @@ before_script:
- export DISABLE_GIT_LFS_CHECK=true
- export VELOREN_ASSETS="$(pwd)/assets"
- echo "VELOREN_ASSETS=$VELOREN_ASSETS"
- rm -rf target || echo "some quickfix, idk why needed"
- export RUSTFLAGS="-D warnings"
- rm -rf target || echo "it seems that sometimes OLD data is left over"
workflow:
rules:

View File

@ -3,8 +3,8 @@ check:
stage: check
script:
- ln -s /dockercache/cache-all target
- RUSTFLAGS="-D warnings" cargo check --locked
- RUSTFLAGS="-D warnings" cargo check --examples --locked
- cargo check --locked
- cargo check --examples --locked
code-quality:
extends: .recompile-branch