From 144b7a982f6cd2dc06d72165a3b54e4ea19f5f34 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Thu, 5 May 2022 17:13:47 +0200 Subject: [PATCH] Add CI script --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2e9462c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: cargo_check + image: rust + commands: + - cargo check +- name: cargo_test + image: rust + commands: + - cargo test +- name: cargo_clippy + image: rust + commands: + - rustup component add clippy + - cargo clippy +