aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-21 20:02:28 +0000
committerGitHub <noreply@github.com>2020-04-21 20:02:28 +0000
commitbb59606b7cf14105492c034c9875edc4c1725da0 (patch)
treee3e05c8d0a08860a75f7bdb15b0be8543fc8ec83 /ci
parente870a68893fd0e7a7f544858846fa5e9eac94b4a (diff)
parent0bd40dad7dc699b80747faedc938210de50a45d5 (diff)
Merge #307
307: Use build.rs for conditional compilation r=korken89 a=AfoHT Extend the current test suite to allow for running tests on newer rustc-versions than current MSRV. Required by #306 to add special tests for future MSRV. To exclude an example from the regular non-nightly testing: ``` #![no_main] #![no_std] #[cfg(rustc_is_nightly)] mod example { use panic_halt as _; #[rtfm::app(device = lm3s6965)] const APP: () = { <more code> } } ``` Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'ci')
-rw-r--r--ci/script.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh
index 78341e1..7b86e52 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -44,6 +44,13 @@ main() {
fi
if [ $TRAVIS_RUST_VERSION = nightly ]; then
+ # Tests where required MSRV > 1.36
+ #local exs=(
+ #)
+ #for ex in ${exs[@]}; do
+ # cargo check --example $ex --target $T
+ #done
+
# multi-core compile-pass tests
pushd heterogeneous
local exs=(