chore: Add Woodpecker CI config (#5)
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
85e6cb95d0
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
|
Loading…
Reference in a new issue