Moved the CARGO_HOME enviornment variable, in an attempt to get cargo packages to cache properly.
This commit is contained in:
parent
1354942290
commit
e72e7d2fd6
@ -6,9 +6,13 @@ stages:
|
|||||||
- test
|
- test
|
||||||
- doc
|
- doc
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- CARGO_HOME: /cache/cargocache
|
||||||
|
|
||||||
check-fmt:
|
check-fmt:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- echo $CARGO_HOME
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
|
|
||||||
test-dev:
|
test-dev:
|
||||||
@ -35,5 +39,4 @@ pages:
|
|||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- /cargocache
|
|
||||||
- target/
|
- target/
|
||||||
|
Loading…
Reference in New Issue
Block a user