use parallelism
This commit is contained in:
parent
048e432a9e
commit
453a218efa
28
.drone.yml
28
.drone.yml
@ -1,7 +1,17 @@
|
||||
kind: pipeline
|
||||
name: build
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: fmt
|
||||
image: rust:1.43.0
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --all -- --check
|
||||
- name: readme
|
||||
image: msrd0/cargo-readme@sha256:2b916451e576cda54f1e02703fa092b9d5af95bcf48426a1ef42872a19467fd3
|
||||
commands:
|
||||
- cargo readme > ~README.md
|
||||
- cmp -s README.md ~README.md || (printf "README.md need to be updated:\n"; cat ~README.md; exit 1)
|
||||
- name: test
|
||||
image: rust:1.43.0
|
||||
commands:
|
||||
@ -21,18 +31,4 @@ steps:
|
||||
- cargo publish --all-features
|
||||
when:
|
||||
event: tag
|
||||
---
|
||||
kind: pipeline
|
||||
name: style
|
||||
|
||||
steps:
|
||||
- name: fmt
|
||||
image: rust:1.43.0
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --all -- --check
|
||||
- name: readme
|
||||
image: msrd0/cargo-readme@sha256:2b916451e576cda54f1e02703fa092b9d5af95bcf48426a1ef42872a19467fd3
|
||||
commands:
|
||||
- cargo readme > ~README.md
|
||||
- cmp -s README.md ~README.md || (printf "README.md need to be updated:\n"; cat ~README.md; exit 1)
|
||||
depends_on: ["fmt", "test", "readme"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user