blob: 151024017029ed824cc3e1e532a93b9986c3b064 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
image: debian/stable
sources:
- https://git.sr.ht/~matthiasbeyer/filters
packages:
- curl
- openssl
tasks:
- install: curl https://sh.rustup.rs -sSf | sh -s -- -y
- build: |
cd filters
PATH="$HOME/.cargo/bin:$PATH" cargo build --all
- test: |
cd filters
PATH="$HOME/.cargo/bin:$PATH" cargo test --all
- clippy: |
cd filters
PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy
PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets -- -D warnings
|