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