mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 13:02:28 +00:00
ci: cache
This commit is contained in:
parent
853ee3e94c
commit
5c5c7fc4fb
1 changed files with 17 additions and 2 deletions
|
@ -2,17 +2,32 @@
|
||||||
stages:
|
stages:
|
||||||
- check
|
- check
|
||||||
|
|
||||||
|
variables:
|
||||||
|
CARGO_HOME: $CI_PROJECT_DIR/cargo
|
||||||
|
|
||||||
check-none:
|
check-none:
|
||||||
stage: check
|
stage: check
|
||||||
image: msrd0/rust-pq
|
image: msrd0/rust:alpine
|
||||||
|
before_script:
|
||||||
|
- cargo -V
|
||||||
script:
|
script:
|
||||||
- cargo check --all --no-default-features
|
- cargo check --all --no-default-features
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- cargo/
|
||||||
|
- target/
|
||||||
|
|
||||||
check-all:
|
check-all:
|
||||||
stage: check
|
stage: check
|
||||||
image: msrd0/rust-pq
|
image: msrd0/rust:alpine
|
||||||
|
before_script:
|
||||||
|
- cargo -V
|
||||||
script:
|
script:
|
||||||
- cargo check --all --all-features
|
- cargo check --all --all-features
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- cargo/
|
||||||
|
- target/
|
||||||
|
|
||||||
readme:
|
readme:
|
||||||
stage: check
|
stage: check
|
||||||
|
|
Loading…
Add table
Reference in a new issue