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:
|
||||
- check
|
||||
|
||||
variables:
|
||||
CARGO_HOME: $CI_PROJECT_DIR/cargo
|
||||
|
||||
check-none:
|
||||
stage: check
|
||||
image: msrd0/rust-pq
|
||||
image: msrd0/rust:alpine
|
||||
before_script:
|
||||
- cargo -V
|
||||
script:
|
||||
- cargo check --all --no-default-features
|
||||
cache:
|
||||
paths:
|
||||
- cargo/
|
||||
- target/
|
||||
|
||||
check-all:
|
||||
stage: check
|
||||
image: msrd0/rust-pq
|
||||
image: msrd0/rust:alpine
|
||||
before_script:
|
||||
- cargo -V
|
||||
script:
|
||||
- cargo check --all --all-features
|
||||
cache:
|
||||
paths:
|
||||
- cargo/
|
||||
- target/
|
||||
|
||||
readme:
|
||||
stage: check
|
||||
|
|
Loading…
Add table
Reference in a new issue