aboutsummaryrefslogtreecommitdiff
path: root/.builds/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/ci.yml')
-rw-r--r--.builds/ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.builds/ci.yml b/.builds/ci.yml
new file mode 100644
index 0000000..e741981
--- /dev/null
+++ b/.builds/ci.yml
@@ -0,0 +1,24 @@
+image: ubuntu/noble
+packages:
+ - rustup
+ - pkg-config
+ - libxkbcommon-dev
+ - libssl-dev
+triggers:
+ - action: email
+ condition: failure
+ to: "<~pml68/dev@lists.sr.ht>"
+tasks:
+ - rust-setup: |
+ rustup toolchain install stable --profile default -c clippy
+ rustup default stable
+ - lint: |
+ cd iced_dialog
+ cargo lint
+ - test: |
+ cd iced_dialog
+ cargo test --verbose --doc
+ cargo test --verbose --all-targets
+ - build-example: |
+ cd iced_dialog
+ cargo build --example save