Browse Source

Also try to cache $CARGO_HOME

merge-requests/79/head
Jonas Fowl 5 years ago
parent
commit
6db046fc20
  1. 3
      .gitlab-ci.yml

3
.gitlab-ci.yml

@ -3,12 +3,15 @@ image: "rust:latest"
cache: cache:
paths: paths:
- target - target
- cargohome
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
CARGO_HOME: "CI_PROJECT_DIR/cargohome"
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

Loading…
Cancel
Save