From 203142b95b6b34cf5329b1ee45b41f19d9cd0531 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Fri, 17 Dec 2021 20:10:43 -0700 Subject: [PATCH] Updated CI to woodpecker --- .drone.yml | 34 ---------------------------------- .woodpecker.yml | 11 +++++++++++ 2 files changed, 11 insertions(+), 34 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index a171070..0000000 --- a/.drone.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -kind: pipeline -name: compliance -type: docker -trigger: - event: - - pull_request -steps: - - name: build - pull: always - image: rust:1.56.0 - commands: - - rustup component add clippy - - cargo build --verbose - - cargo clippy --workspace --tests --all-targets --all-features - - cargo test --workspace --no-fail-fast ---- -kind: pipeline -name: release -type: docker -trigger: - branch: - - master - event: - - push -steps: - - name: build - pull: always - image: rust:1.56.0 - commands: - - rustup component add clippy - - cargo build --verbose --release - - cargo clippy --workspace --tests --all-targets --all-features - - cargo test --workspace --no-fail-fast \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..82d389b --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,11 @@ +--- +pipeline: + compliance: + image: rust + commands: + - rustup component add clippy + - cargo build --verbose + - cargo clippy --workspace --tests --all-targets --all-features + - cargo test --workspace --no-fail-fast + when: + branch: main \ No newline at end of file