commit 2faee61fc98beef13f9c776245be39b6db9d9e83 from: witcher date: Wed May 4 19:25:05 2022 UTC add ci commit - 2df359c9b7ce74dddbfff716d1534eee50c77964 commit + 2faee61fc98beef13f9c776245be39b6db9d9e83 blob - /dev/null blob + 269e41946b1ff80f70423c153420aa10cc5190dd (mode 644) --- /dev/null +++ .build.yml @@ -0,0 +1,30 @@ +image: archlinux +triggers: + - action: email + condition: failure + to: witcher +packages: + - rustup +sources: + - https://git.sr.ht/~witcher/incidence_updates +tasks: + - setup: | + rustup default nightly + - version: | + rustc -V + - verify: | + cd incidence_updates + curl -s "https://wiredspace.de/pgp/witcher_wiredspace_public.gpg" | gpg --import + [ "$BUILD_SUBMITTER" == "git.sr.ht" ] && git verify-commit HEAD + - format: | + cd incidence_updates + cargo fmt -- --check + - build: | + cd incidence_updates + cargo build --release + - test: | + cd incidence_updates + cargo test + - clippy: | + cd incidence_updates + cargo clippy -- -D warnings