aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-15 16:17:48 +0100
committerRobin Krahl <robin.krahl@ireas.org>2019-01-15 18:03:19 +0100
commit52501733d4f678b4012e514261cbecfc2a12a229 (patch)
treeaa63ced3f68908f6f20977e8f414237d7c4ddbfe
parent77aa0e51962880c170d924fa735f2268772a0652 (diff)
downloadnitrokey-rs-52501733d4f678b4012e514261cbecfc2a12a229.tar.gz
nitrokey-rs-52501733d4f678b4012e514261cbecfc2a12a229.tar.bz2
Add CI build script for sr.ht
-rw-r--r--.builds/archlinux.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
new file mode 100644
index 0000000..9d45386
--- /dev/null
+++ b/.builds/archlinux.yml
@@ -0,0 +1,21 @@
+image: archlinux
+packages:
+ - rust
+ - hidapi
+ - gcc
+sources:
+ - https://git.sr.ht/~ireas/nitrokey-rs
+tasks:
+ - build: |
+ cd nitrokey-rs
+ cargo build --release
+ - test: |
+ cd nitrokey-rs
+ cargo test
+ - format: |
+ cd nitrokey-rs
+ cargo fmt -- --check
+triggers:
+ - action: email
+ condition: failure
+ to: nitrokey-rs-dev <nitrokey-rs-dev@ireas.org>