Re-enable caching on CI, attempt to improve hits and performance
This commit is contained in:
parent
a7898d8e76
commit
30f0a67cda
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue