webhookey/.woodpecker.yml
finga 81be79d46d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci: Add a basic ci config
Do things like build docs, check fmt, clippy and build in non-release
and release mode as well as the debian package. Include a badge which
reflects the status of the ci for the main branch to the readme.
2022-02-10 00:56:49 +01:00

30 lines
472 B
YAML

pipeline:
doc:
image: rust
commands:
- cargo doc
fmt:
image: rust
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
clippy:
image: rust
commands:
- rustup component add clippy
- cargo clippy --all-features
build:
image: rust
commands:
- cargo build
- cargo build --release
build-deb:
image: rust
commands:
- cargo install cargo-deb
- cargo deb