Updated CI to woodpecker
continuous-integration/woodpecker the build failed Details

main
Joey Hines 2021-12-17 20:10:43 -07:00
parent 3711e7011c
commit 203142b95b
No known key found for this signature in database
GPG Key ID: 80F567B5C968F91B
2 changed files with 11 additions and 34 deletions

View File

@ -1,34 +0,0 @@
---
kind: pipeline
name: compliance
type: docker
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: rust:1.56.0
commands:
- rustup component add clippy
- cargo build --verbose
- cargo clippy --workspace --tests --all-targets --all-features
- cargo test --workspace --no-fail-fast
---
kind: pipeline
name: release
type: docker
trigger:
branch:
- master
event:
- push
steps:
- name: build
pull: always
image: rust:1.56.0
commands:
- rustup component add clippy
- cargo build --verbose --release
- cargo clippy --workspace --tests --all-targets --all-features
- cargo test --workspace --no-fail-fast

11
.woodpecker.yml 100644
View File

@ -0,0 +1,11 @@
---
pipeline:
compliance:
image: rust
commands:
- rustup component add clippy
- cargo build --verbose
- cargo clippy --workspace --tests --all-targets --all-features
- cargo test --workspace --no-fail-fast
when:
branch: main