Commit 85f7fbff authored by Ben Boeckel's avatar Ben Boeckel

gitlab-ci: vendor used dependencies

This reduces the size of the artifacts between stages.
parent 19a81f8e
......@@ -13,6 +13,8 @@ before_script:
.cargo_update: &cargo_update
- cargo generate-lockfile $GENERATE_LOCKFILE_ARGS
- cargo fetch --locked
- mkdir .cargo
- cargo vendor > .cargo/config
.cargo_clippy: &cargo_clippy
# Only use it if it's available; no need to fail the build due to something
......@@ -66,7 +68,8 @@ before_script:
artifacts:
expire_in: 60m
paths:
- .cargo-cache
- vendor
- .cargo
- Cargo.lock
cache:
key: cargo-cache-$CARGO_UPDATE_POLICY
......@@ -87,7 +90,8 @@ before_script:
artifacts:
expire_in: 60m
paths:
- .cargo-cache
- vendor
- .cargo
- Cargo.lock
- target
interruptible: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment