aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-12-27 23:07:00 +0100
committerRobin Krahl <robin.krahl@ireas.org>2019-12-27 23:07:00 +0100
commitc85f11a4d57bd8b3c2d5e00264eb27f06e8ae08c (patch)
treedd6e920e7a10d64c1e612e45d92b56b79fec73fb
parent1a49f8780bbd0e2c4f8e1414fd7459c85a89b35d (diff)
downloadnitrokey-rs-c85f11a4d57bd8b3c2d5e00264eb27f06e8ae08c.tar.gz
nitrokey-rs-c85f11a4d57bd8b3c2d5e00264eb27f06e8ae08c.tar.bz2
Add build for the MSRV
This patch adds a new archlinux-msrv build that compiles the code and the tests on the Minimum Supported Rust Version.
-rw-r--r--.builds/archlinux-msrv.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.builds/archlinux-msrv.yml b/.builds/archlinux-msrv.yml
new file mode 100644
index 0000000..66c0390
--- /dev/null
+++ b/.builds/archlinux-msrv.yml
@@ -0,0 +1,22 @@
+# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
+# SPDX-License-Identifier: CC0-1.0
+image: archlinux
+packages:
+ - rustup
+ - libnitrokey
+environment:
+ USE_SYSTEM_LIBNITROKEY: "1"
+sources:
+ - https://git.ireas.org/nitrokey-rs
+tasks:
+ - setup: |
+ rustup set profile minimal
+ rustup default 1.34.2
+ - version: |
+ rustc -V
+ - build: |
+ cd nitrokey-rs
+ cargo build --release
+ - test: |
+ cd nitrokey-rs
+ cargo test