Commit Diff


commit - 6ecb5bd86d62f727dd1a3dbe473e2a47a76ac368
commit + 74851b8c3d406f01e241232cb5fb8d9cebf01d99
blob - /dev/null
blob + 4de38c8a784350fb8623536cdeaea9349f5e34f2 (mode 644)
--- /dev/null
+++ .build.yml
@@ -0,0 +1,30 @@
+image: archlinux
+triggers:
+  - action: email
+    condition: failure
+    to: witcher <witcher@wiredspace.de>
+packages:
+  - rustup
+sources:
+  - https://git.sr.ht/~witcher/rss-email
+tasks:
+  - setup: |
+      rustup default nightly
+  - version: |
+      rustc -V
+  - verify: |
+      cd rss-email
+      curl -s "https://wiredspace.de/pgp/witcher_wiredspace_public.gpg" | gpg --import
+      git verify-commit HEAD
+  - format: |
+      cd rss-email
+      cargo fmt -- --check
+  - build: |
+      cd rss-email
+      cargo build
+  - test: |
+      cd rss-email
+      cargo test
+  - clippy: |
+      cd rss-email
+      cargo clippy -- -D warnings