maybe this will work for keeping the ci from filling the disk and making everyone sad
This commit is contained in:
parent
7b26fdc28d
commit
d0866f5e83
24
.drone.yml
24
.drone.yml
@ -7,16 +7,40 @@ concurrency:
|
|||||||
limit: 1
|
limit: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clean cache
|
||||||
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /usr/local/cargo
|
||||||
|
- name: target-cache
|
||||||
|
path: /drone/src/target
|
||||||
|
commands:
|
||||||
|
- cargo sweep --maxsize 12GiB
|
||||||
- name: build
|
- name: build
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /usr/local/cargo
|
||||||
|
- name: target-cache
|
||||||
|
path: /drone/src/target
|
||||||
commands:
|
commands:
|
||||||
- cargo build
|
- cargo build
|
||||||
- name: clippy!
|
- name: clippy!
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /usr/local/cargo
|
||||||
|
- name: target-cache
|
||||||
|
path: /drone/src/target
|
||||||
commands:
|
commands:
|
||||||
- cargo clippy -- --deny warnings
|
- cargo clippy -- --deny warnings
|
||||||
- name: test
|
- name: test
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /usr/local/cargo
|
||||||
|
- name: target-cache
|
||||||
|
path: /drone/src/target
|
||||||
commands:
|
commands:
|
||||||
- cargo test --jobs 1
|
- cargo test --jobs 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user