Add woodpecker config
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details

msg_refactor
Joey Hines 2022-05-28 16:36:11 -06:00
parent 230930a23c
commit 45b368fd11
No known key found for this signature in database
GPG Key ID: 80F567B5C968F91B
1 changed files with 31 additions and 0 deletions

31
.woodpecker.yml 100644
View File

@ -0,0 +1,31 @@
clone:
git:
image: "woodpeckerci/plugin-git:next"
pipeline:
compliance:
commands:
- "rustup component add clippy"
- "cargo build --verbose"
- "cargo clippy --workspace --tests --all-targets --all-features"
- "cargo test --workspace --no-fail-fast"
image: "rust:latest"
when:
event: pull_request, push
build:
commands:
- "cargo build --release"
image: "rust:latest"
when:
branch: main
event: push
release:
image: jolheiser/drone-gitea-main:latest
settings:
token:
from_secret: gitea_token
base: https://git.jojodev.com
files:
- "target/release/woxlf"
when:
branch: main
event: push