Add Woodpeck CI config #5
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