summaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
blob: 46a5e75552510e9b2e1c60d96cce0685af548c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Define the sequence of steps for the CI pipeline
steps:
  full-test:
    image: rust 
    commands:
      - apt install openssl -y 
      - rustup default stable 
      - rustup component add clippy rustfmt
      - cargo clippy --jobs 2 -- -D clippy::all
      - cargo fmt --all -- --check
      - cargo build --verbose --release --jobs 2
      - cargo test --verbose --jobs 2
    when:
      branch: main
      event: [ push, pull_request ]