diff options
author | Jonas Fowl <jfowl@wjclub.tk> | 2021-05-13 07:57:11 +0000 |
---|---|---|
committer | Timo Kösters <timo@koesters.xyz> | 2021-05-13 07:57:11 +0000 |
commit | 3ea0d2b567b59dd4f8dc7ede9ab8bbece22afdf4 (patch) | |
tree | 1403154d1c64c1f2d4dae5c2be46a541cba567ea /.gitlab-ci.yml | |
parent | f3e6311680fc0b73d68571a5c0d73d7823e2f4c4 (diff) | |
download | conduit-3ea0d2b567b59dd4f8dc7ede9ab8bbece22afdf4.zip |
Try to improve CI build times by caching
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d09a881..b3dcd5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,18 @@ image: "rust:latest" +cache: + paths: + - target + - cargohome + + variables: GIT_SUBMODULE_STRATEGY: recursive + CARGO_HOME: "cargohome" + FF_USE_FASTZIP: 1 before_script: + - mkdir -p $CARGO_HOME && echo "using $CARGO_HOME to cache cargo deps" - apt-get update -yqq - apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config - rustup component add clippy rustfmt |