From 52c5be7dcb5a0c37e29bc82bec5f9761f7fd687f Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 9 Mar 2024 22:28:28 +0000 Subject: [PATCH] Add Woodpeck CI config (#5) Closes kemitix/paperoni#3 Reviewed-on: https://git.kemitix.net/kemitix/paperoni/pulls/5 Co-authored-by: Paul Campbell Co-committed-by: Paul Campbell --- .woodpecker.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..0072a71 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,20 @@ +steps: + build: + when: + - event: cron + - event: push + branch: main + - event: pull_request + image: docker.io/rust:1.52.1 + commands: + - apt-get install libssl-dev + - cargo build + test: + when: + - event: cron + - event: push + branch: main + - event: pull_request + image: docker.io/rust:1.52.1 + commands: + - cargo test