ci, wip: fix cargo cache, env expansion
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
9f6e9992b2
commit
968fa47916
1 changed files with 5 additions and 10 deletions
|
@ -33,9 +33,8 @@ pipeline:
|
|||
group: init
|
||||
image: albedo.lan:5000/upend-rust:latest
|
||||
pull: true
|
||||
environment:
|
||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
||||
commands:
|
||||
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||
- test -d $CARGO_HOME || cp -vr /usr/local/cargo $CARGO_HOME
|
||||
|
||||
cache:pushtest:
|
||||
|
@ -63,9 +62,8 @@ pipeline:
|
|||
prepare:build:wasmlib:
|
||||
image: albedo.lan:5000/upend-rust:latest
|
||||
pull: true
|
||||
environment:
|
||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
||||
commands:
|
||||
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||
- rustc --version && cargo --version
|
||||
- task build:wasmlib
|
||||
# volumes:
|
||||
|
@ -75,9 +73,8 @@ pipeline:
|
|||
group: build
|
||||
image: albedo.lan:5000/upend-rust:latest
|
||||
pull: true
|
||||
environment:
|
||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
||||
commands:
|
||||
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||
- rustc --version && cargo --version
|
||||
- task build:backend
|
||||
# volumes:
|
||||
|
@ -95,9 +92,8 @@ pipeline:
|
|||
group: lint
|
||||
image: albedo.lan:5000/upend-rust:latest
|
||||
pull: true
|
||||
environment:
|
||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
||||
commands:
|
||||
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||
- rustup component add clippy
|
||||
- task lint:backend
|
||||
- git status -vvv
|
||||
|
@ -150,9 +146,8 @@ pipeline:
|
|||
group: test
|
||||
image: albedo.lan:5000/upend-rust:latest
|
||||
pull: true
|
||||
environment:
|
||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
||||
commands:
|
||||
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||
- task test:backend
|
||||
# volumes:
|
||||
# - rust_registry:/usr/local/cargo
|
||||
|
|
Loading…
Reference in a new issue