Drone CI build pipeline #101
18
.drone.yml
18
.drone.yml
|
@ -1,17 +1,31 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: test-on-amd64
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: rustfmt
|
||||
image: rust:buster
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --check
|
||||
|
||||
- name: clippy
|
||||
image: rust:buster
|
||||
commands:
|
||||
- rustup component add clippy rustfmt
|
||||
- cargo fmt --check
|
||||
- rustup component add clippy
|
||||
- cargo clippy -- -D warnings
|
||||
|
||||
- name: check
|
||||
image: rust:buster
|
||||
commands:
|
||||
- cargo check
|
||||
|
||||
- name: test
|
||||
image: rust:buster
|
||||
commands:
|
||||
- cargo test
|
||||
|
||||
trigger:
|
||||
|
|
Loading…
Reference in New Issue