mirror of
https://gitlab.com/mailcat-devs/mailcat.git
synced 2025-12-20 13:23:26 +01:00
CI: fix caching
This commit is contained in:
parent
cdd27b3741
commit
e046318a2e
1 changed files with 5 additions and 2 deletions
|
|
@ -1,9 +1,12 @@
|
|||
variables:
|
||||
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
|
||||
CARGO_TARGET_DIR: "/ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
|
||||
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
|
||||
|
||||
test:
|
||||
stage: test
|
||||
image: rust:1.53.0
|
||||
script:
|
||||
- cargo test --verbose
|
||||
cache:
|
||||
paths:
|
||||
- ".cargo"
|
||||
- "target"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue