Re-add sccache work

This commit is contained in:
Tom Parker-Shemilt 2020-06-03 20:29:35 +01:00
parent d269bb0c2e
commit 3d976af660

View file

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