From 328036b7b3db304f37b7af4face31b2c7c5583f8 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Mon, 8 May 2023 16:04:23 +0200 Subject: [PATCH] Add basic drone configuration --- .drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..dcc7d9f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: cargo_check + image: rust + commands: + - wget -O /usr/bin/minio https://dl.min.io/server/minio/release/linux-amd64/minio + - wget -O /usr/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc + - chmod +x /usr/bin/minio /usr/bin/mc + - rustup component add clippy + - cargo clippy -- -D warnings + - cargo test +