From ac18bf412c51aa35140aa99238423728fe175828 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Mon, 28 Mar 2022 16:41:55 +0100 Subject: [PATCH] added dronefile --- .drone.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e9c56ad --- /dev/null +++ b/.drone.yml @@ -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 + +...