aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-12-17 09:34:39 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-12-17 10:36:48 +0100
commitfc8ee68363191d782374565e110ccd0e0a3d42d5 (patch)
treebb3eef0173192a6307c2202817807424cce96015
parentb5c310844efcd4aabb88979f93f5ec6b2ec7cd61 (diff)
downloadntw-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.
-rw-r--r--.builds/archlinux-msrv.yml18
-rw-r--r--.builds/archlinux.yml5
2 files changed, 20 insertions, 3 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
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: |