blob: a5619a55a2ccac91f09510f05131e322f8fb2dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
image: debian/buster
sources:
- https://git.sr.ht/~matthiasbeyer/butido
packages:
- libssl-dev
- openssl
- pkg-config
- libpq-dev
tasks:
- install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.50.0
- prepare_lint: |
PATH="$HOME/.cargo/bin:$PATH" cargo install cargo-deny --locked
- lint-licenses: |
cd butido
PATH="$HOME/.cargo/bin:$PATH" cargo deny check licenses
- lint-bans: |
cd butido
PATH="$HOME/.cargo/bin:$PATH" cargo deny check bans
- lint-sources: |
cd butido
PATH="$HOME/.cargo/bin:$PATH" cargo deny check sources
- build: |
cd butido
PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features
- test: |
cd butido
PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features
- clippy: |
cd butido
PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy
PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets --all-features -- -D warnings
triggers:
- action: email
condition: always
to: mail@beyermatthias.de, matthias.beyer@atos.net
|