diff options
| author | namilsk <namilsk@namilsk.tech> | 2026-03-08 18:19:22 +0300 |
|---|---|---|
| committer | namilsk <namilsk@namilsk.tech> | 2026-03-08 18:19:22 +0300 |
| commit | bfe0424217556fbb37f1129bc892c8d275ff0477 (patch) | |
| tree | d111c45e1e3e0a008f59b149a2e660ec0602aa9f /.woodpecker.yaml | |
| parent | 6c5cf2bf2d92118f5e996520d6abec6c005221f9 (diff) | |
Fixed build with `integrated-router` feature, CI pipelines, clippy warnings and some minor editsmain
Diffstat (limited to '.woodpecker.yaml')
| -rw-r--r-- | .woodpecker.yaml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..c91eee8 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,42 @@ +# Define the sequence of steps for the CI pipeline +steps: + build: + image: rust:1.94.0-bullseye + environment: + PKG_CONFIG_PATH: "/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig" + RUST_BACKTRACE: 1 + CARGO_TERM_COLOR: always + commands: + - rustup default stable + - apt update + - apt install -y pkg-config libgpg-error-dev libgpgme-dev libassuan-dev gnupg openssl + - cargo build --verbose --release --jobs 4 + when: + branch: main + event: [ push, pull_request ] + clippy: + image: rust:1.94.0-bullseye + environment: + PKG_CONFIG_PATH: "/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig" + RUST_BACKTRACE: 1 + CARGO_TERM_COLOR: always + commands: + - apt update + - apt install -y pkg-config libgpg-error-dev libgpgme-dev libassuan-dev gnupg openssl + - rustup component add clippy rustfmt + - cargo fmt --all + - cargo clippy --jobs 2 -- -D clippy::all # -D warnings + when: + branch: main + event: [ push, pull_request ] + +# tests: +# image: rust +# environment: +# RUST_BACKTRACE: 1 +# CARGO_TERM_COLOR: always +# commands: +# - cargo test --verbose --jobs 2 -- --test-threads=2 +# when: +# branch: main +# event: [ push, pull_request ] |
