diff options
Diffstat (limited to '.builds/debian.yml')
-rw-r--r-- | .builds/debian.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 00000000..96ce2747 --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,26 @@ +image: debian/stable +sources: + - https://git.sr.ht/~matthiasbeyer/imag +packages: + - curl + - libclang-dev + - libdbus-1-dev + - libssl-dev + - openssl + - pkg-config + - git +tasks: + - install: curl https://sh.rustup.rs -sSf | sh -s -- -y + - build: | + cd imag + PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features + - prepare-test: | + git config --global user.name "Test user" + git config --global user.email "test@user.tld" + - test: | + cd imag + PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features + - clippy: | + cd imag + PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy + PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets --all-features -- -D warnings |