diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-12-17 09:34:39 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-12-17 10:36:48 +0100 |
commit | fc8ee68363191d782374565e110ccd0e0a3d42d5 (patch) | |
tree | bb3eef0173192a6307c2202817807424cce96015 /.builds/archlinux-msrv.yml | |
parent | b5c310844efcd4aabb88979f93f5ec6b2ec7cd61 (diff) | |
download | ntw-fc8ee68363191d782374565e110ccd0e0a3d42d5.tar.gz ntw-fc8ee68363191d782374565e110ccd0e0a3d42d5.tar.bz2 |
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.
Diffstat (limited to '.builds/archlinux-msrv.yml')
-rw-r--r-- | .builds/archlinux-msrv.yml | 18 |
1 files changed, 18 insertions, 0 deletions
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 <robin.krahl@ireas.org> +# 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 |