Updated CI to woodpecker
continuous-integration/woodpecker the build failed
Details
continuous-integration/woodpecker the build failed
Details
parent
3711e7011c
commit
203142b95b
34
.drone.yml
34
.drone.yml
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue