Merge branch 'jfowl-master-patch-93743' into 'master'

Try to improve CI build times by caching

See merge request famedly/conduit!79
next
Timo Kösters 2021-05-13 07:57:11 +00:00
commit 767fe76d3e
1 changed files with 9 additions and 0 deletions

View File

@ -1,9 +1,18 @@
image: "rust:latest" image: "rust:latest"
cache:
paths:
- target
- cargohome
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
CARGO_HOME: "cargohome"
FF_USE_FASTZIP: 1
before_script: before_script:
- mkdir -p $CARGO_HOME && echo "using $CARGO_HOME to cache cargo deps"
- apt-get update -yqq - apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config - apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config
- rustup component add clippy rustfmt - rustup component add clippy rustfmt