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 ++++++++++++++++++ .builds/archlinux.yml | 5 ++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 .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 diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index 11e9043..cac396e 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -8,10 +8,9 @@ sources: tasks: - setup: | rustup set profile minimal - rustup default 1.37.0 + rustup default stable rustup target add thumbv7m-none-eabi - rustup component add rustfmt - rustup component add clippy + rustup component add clippy rustfmt - version: | rustc -V - build: | -- cgit v1.2.1