Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Brad King
rust-git-workarea
Commits
85f7fbff
Commit
85f7fbff
authored
Nov 01, 2019
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: vendor used dependencies
This reduces the size of the artifacts between stages.
parent
19a81f8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
.gitlab-ci.yml
.gitlab-ci.yml
+6
-2
No files found.
.gitlab-ci.yml
View file @
85f7fbff
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment