From c85f11a4d57bd8b3c2d5e00264eb27f06e8ae08c Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 27 Dec 2019 23:07:00 +0100 Subject: 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. --- .builds/archlinux-msrv.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .builds/archlinux-msrv.yml (limited to '.builds') 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 +# 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 -- cgit v1.2.1