Browse Source

Add volume for cargo registry

drone-volume-cache
Alex Mikhalev 4 years ago
parent
commit
a073579386
  1. 10
      .drone.yml

10
.drone.yml

@ -4,6 +4,14 @@ name: default
steps: steps:
- name: test - name: test
image: rustlang/rust:nightly image: rustlang/rust:nightly
volumes:
- name: cargo-registry
path: /usr/local/cargo/registry
commands: commands:
- cargo build --verbose --all - cargo build --verbose --all
- cargo test --verbose --all - cargo test --verbose --all
volumes:
- name: cache
host:
path: /var/lib/drone/sprinklers_rs/cargo-registry
Loading…
Cancel
Save