[#45] Hopefully made Cargo home available across steps
continuous-integration/drone the build was successful Details

pull/72/head
Jef Roosens 2021-05-12 14:44:10 +02:00
parent 8baeda4cae
commit 4cf9152fc4
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,8 @@ pipeline:
image: chewingbever/fej-builder:latest
pull: true
group: build
environment:
- CARGO_HOME=.cargo
commands:
- cargo build
@ -32,6 +34,8 @@ pipeline:
# =====TESTING=====
test-backend:
image: chewingbever/fej-builder:latest
environment:
- CARGO_HOME=.cargo
commands:
- cargo test
@ -47,6 +51,8 @@ pipeline:
lint-backend:
image: chewingbever/fej-builder:latest
group: lint
environment:
- CARGO_HOME=.cargo
commands:
- cargo fmt -- --check
# This is run here because it requires compilation