Add Woodpeck CI config (#5)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Closes kemitix/paperoni#3 Reviewed-on: #5 Co-authored-by: Paul Campbell <pcampbell@kemitix.net> Co-committed-by: Paul Campbell <pcampbell@kemitix.net>
This commit is contained in:
parent
796a34a34c
commit
52c5be7dcb
1 changed files with 20 additions and 0 deletions
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
|
@ -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
|
Reference in a new issue