Implementation of firmware for a sprinklers system using async Rust, Tokio, Actix, MQTT and more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

41 lines
755 B

kind: pipeline
type: docker
name: default
steps:
- name: restore-target-cache
image: drillster/drone-volume-cache
volumes:
- name: target-cache
path: /cache
settings:
restore: true
mount:
- ./target
- name: test
image: rust:1
volumes:
- name: cargo-registry
path: /usr/local/cargo/registry
commands:
- cargo build --verbose --all
- cargo test --verbose --all
- name: rebuild-target-cache
image: drillster/drone-volume-cache
volumes:
- name: target-cache
path: /cache
settings:
rebuild: true
mount:
- ./target
volumes:
- name: cargo-registry
host:
path: /var/lib/drone/sprinklers_rs/cargo-registry
- name: target-cache
host:
path: /var/lib/drone/sprinklers_rs/target-cache