diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-16 21:32:11 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-16 21:32:11 +0100 |
commit | ea84e4609421ee5ce3bebbb9f52ef302fe2fba56 (patch) | |
tree | af9dcd385b63754b726a4094b25d05453ee2ca80 | |
parent | 679791064169a37ad9d88b910b7553ebf7133c07 (diff) | |
download | nitrokey-rs-ea84e4609421ee5ce3bebbb9f52ef302fe2fba56.tar.gz nitrokey-rs-ea84e4609421ee5ce3bebbb9f52ef302fe2fba56.tar.bz2 |
Add build with USE_SYSTEM_LIBNITROKEY=1
The archlinux build compiles libnitrokey from source. Now we also
verify that we can use the system libnitrokey version.
-rw-r--r-- | .builds/archlinux-use-system-lib.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.builds/archlinux-use-system-lib.yaml b/.builds/archlinux-use-system-lib.yaml new file mode 100644 index 0000000..6fba33a --- /dev/null +++ b/.builds/archlinux-use-system-lib.yaml @@ -0,0 +1,22 @@ +image: archlinux +packages: + - rust + - libnitrokey +environment: + USE_SYSTEM_LIBNITROKEY: "1" +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> |