Merge pull request #897 from palfrey/sccache

Add sscache support
pull/901/head
Tom Parker-Shemilt 4 years ago committed by GitHub
commit 428ff93277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,14 @@
language: rust language: rust
script: cargo run before_script: sccache --version || cargo install sccache
script: RUSTC_WRAPPER=sccache cargo run
env: env:
global: global:
- RUST_LOG=warn - RUST_LOG=warn
- SCCACHE_CACHE_SIZE=1G
cache: cache:
directories: directories:
- ~/.cargo/bin
- ~/.cache/sccache
- results # So we don't have to check all the things every time - results # So we don't have to check all the things every time
Loading…
Cancel
Save