Re-enable caching on CI, attempt to improve hits and performance

This commit is contained in:
timvisee 2018-11-20 16:23:32 +01:00
parent a7898d8e76
commit 30f0a67cda
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2

View file

@ -9,6 +9,16 @@ stages:
variables:
RUST_VERSION: stable
# Cache rust/cargo/build artifacts
cache:
key: "$CI_PIPELINE_ID-$RUST_VERSION"
untracked: true
paths:
- /usr/local/cargo/registry/
- /usr/local/rustup/toolchains/
- /usr/local/rustup/update-hashes/
- target/
# Install compiler and OpenSSL dependencies
before_script:
- apt-get update