From fc8ee68363191d782374565e110ccd0e0a3d42d5 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 17 Dec 2019 09:34:39 +0000 Subject: Test both stable and MSRV Rust versions Previously, the CI builds only ran on the MSRV Rust version 1.37.0. This patch changes the Rust version for the archlinux build to stable and introduces a new archlinux-msrv build that tries to compile ntw with the MSRV. --- .builds/archlinux-msrv.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .builds/archlinux-msrv.yml (limited to '.builds/archlinux-msrv.yml') diff --git a/.builds/archlinux-msrv.yml b/.builds/archlinux-msrv.yml new file mode 100644 index 0000000..d2b0fca --- /dev/null +++ b/.builds/archlinux-msrv.yml @@ -0,0 +1,18 @@ +# Copyright (C) 2019 Robin Krahl +# SPDX-License-Identifier: CC0-1.0 +image: archlinux +packages: + - rustup +sources: + - https://git.ireas.org/ntw +tasks: + - setup: | + rustup set profile minimal + rustup default 1.37.0 + rustup target add thumbv7m-none-eabi + - version: | + rustc -V + - build: | + cd ntw + cargo build --release + size target/thumbv7m-none-eabi/release/ntw -- cgit v1.2.1