summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-05-14 16:01:28 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-05-14 16:06:48 +0200
commit5206143171ded4717d6526989ef160028e719058 (patch)
tree01d397d1c64c0edabce4534baa39ab32addf34b7 /.gitlab-ci.yml
parent09f470d2762dc8aeff2b97369285c9cfb97d03ea (diff)
ci: Clean our crates before the cache is prepared.
- On the assumption that our dependencies change rarely (we pin them by having our Cargo.lock checked in), and that recompiling them takes longer than using the cache, we keep our dependencies cached, but drop any artifacts related to Sequoia. - Hopefully addresses #194.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0fbe2b41..e68d73dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,9 +7,8 @@ test:
- rustc --version
- cargo --version
- clang --version
- - sleep 1 ; touch timestamp
- SEQUOIA_CTEST_VALGRIND=/usr/bin/valgrind make test
- - find target -type f -a '!' -anewer timestamp -delete
+ - cargo clean -p buffered-reader -p sequoia-rfc2822 -p sequoia-openpgp -p sequoia-openpgp-ffi -p sequoia-core -p sequoia-ffi -p sequoia-ffi-macros -p sequoia-ipc -p sequoia-net -p sequoia-store -p sequoia-tool -p sequoia-sqv -p sequoia-guide
- du -sh target
- du -sh cargo