|
@ -1,7 +1,7 @@ |
|
|
--- |
|
|
--- |
|
|
kind: pipeline |
|
|
kind: pipeline |
|
|
type: docker |
|
|
type: docker |
|
|
name: test elseware |
|
|
|
|
|
|
|
|
name: test elseware |
|
|
|
|
|
|
|
|
concurrency: |
|
|
concurrency: |
|
|
limit: 1 |
|
|
limit: 1 |
|
@ -16,6 +16,8 @@ steps: |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
|
- cargo sweep --maxsize 12GiB |
|
|
- cargo sweep --maxsize 12GiB |
|
|
|
|
|
environment: |
|
|
|
|
|
CARGO_INCREMENTAL: false |
|
|
- name: build |
|
|
- name: build |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
@ -25,6 +27,8 @@ steps: |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
|
- cargo build |
|
|
- cargo build |
|
|
|
|
|
environment: |
|
|
|
|
|
CARGO_INCREMENTAL: false |
|
|
- name: clippy! |
|
|
- name: clippy! |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
@ -34,6 +38,8 @@ steps: |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
|
- cargo clippy -- --deny warnings |
|
|
- cargo clippy -- --deny warnings |
|
|
|
|
|
environment: |
|
|
|
|
|
CARGO_INCREMENTAL: false |
|
|
- name: test |
|
|
- name: test |
|
|
image: rustlang/rust:nightly |
|
|
image: rustlang/rust:nightly |
|
|
volumes: |
|
|
volumes: |
|
@ -43,6 +49,8 @@ steps: |
|
|
path: /drone/src/target |
|
|
path: /drone/src/target |
|
|
commands: |
|
|
commands: |
|
|
- cargo test --jobs 1 |
|
|
- cargo test --jobs 1 |
|
|
|
|
|
environment: |
|
|
|
|
|
CARGO_INCREMENTAL: false |
|
|
|
|
|
|
|
|
volumes: |
|
|
volumes: |
|
|
- name: cache |
|
|
- name: cache |
|
|