Cache after build

This commit is contained in:
Jake Howard 2017-08-15 22:49:27 +01:00
parent c8471db60f
commit 8096df58d7
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,15 +11,15 @@ jobs:
keys:
- cargo
- run: which rustfmt || cargo install rustfmt
- save_cache:
key: cargo
paths:
- ~/.cargo
- run: apt update && apt install -y wget
- run: ./scripts/install-deps.sh
- run: cargo fmt -- --write-mode=diff
- run: cargo build
- run: cargo build --release
- save_cache:
key: cargo
paths:
- ~/.cargo
- run: cargo test
- run: cargo test --release
- run: cd test-files && cargo run --release -- build