matrix-dnsbot/.build.yml
2022-06-10 20:11:31 +00:00

20 lines
452 B
YAML

image: alpine/latest
packages:
- curl
sources:
- https://git.sr.ht/~cofob/matrix-dnsbot
triggers:
- action: email
condition: failure
to: failure@cofob.ru
tasks:
- install: |
curl https://sh.rustup.rs -sSf | sh -s -- -y -q --default-toolchain nightly --profile minimal
- check: |
source $HOME/.cargo/env
cd matrix-dnsbot
cargo c
- test: |
source $HOME/.cargo/env
cd matrix-dnsbot
cargo test