added dronefile
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2022-03-28 16:41:55 +01:00
parent 27ee0ab57e
commit ac18bf412c

46
.drone.yml Normal file
View File

@ -0,0 +1,46 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: vendor
image: rust:1.59
commands:
- mkdir .cargo
- cargo vendor > .cargo/config
- name: format
image: rust:1.59
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
depends_on:
- vendor
- name: lint
image: rust:1.59
commands:
- rustup component add clippy
- cargo clippy --quiet --target-dir target_clippy/ --all-targets -- -D warnings
depends_on:
- vendor
- name: test
image: rust:1.59
commands:
- cargo test --target-dir target_test/
depends_on:
- vendor
- name: build
image: rust:1.59
commands:
- cargo build
depends_on:
- vendor
---
kind: signature
hmac: 5ca217a3f270ccd57de3f1d3b980dff7f0a4d9d742eaf1c1478a887c12eee321
...