From c6f9b2c0aa62fa3ceed6ac58928af15d9e3a58a2 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 23 Feb 2019 20:35:54 +0100 Subject: [PATCH] fix ci --- ci/script.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index 93b44615a5..5cc79fbbce 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -146,18 +146,22 @@ main() { if [ $ex != types ]; then arm_example "build" $ex "debug" "$nightly" "2" - cmp ci/builds/${ex}_debug_1.hex ci/builds/${ex}_debug_2.hex + cmp ci/builds/${ex}_${nightly/nightly/nightly_}debug_1.hex \ + ci/builds/${ex}_${nightly/nightly/nightly_}debug_2.hex arm_example "build" $ex "release" "$nightly" "2" - cmp ci/builds/${ex}_release_1.hex ci/builds/${ex}_release_2.hex + cmp ci/builds/${ex}_${nightly/nightly/nightly_}release_1.hex \ + ci/builds/${ex}_${nightly/nightly/nightly_}release_2.hex built+=( $ex ) fi if [ $TARGET != thumbv6m-none-eabi ]; then arm_example "build" $ex "debug" "$nightly,timer-queue" "2" - cmp ci/builds/${ex}_timer-queue_debug_1.hex ci/builds/${ex}_timer-queue_debug_2.hex + cmp ci/builds/${ex}_${nightly}_timer-queue_debug_1.hex \ + ci/builds/${ex}_${nightly}_timer-queue_debug_2.hex arm_example "build" $ex "release" "$nightly,timer-queue" "2" - cmp ci/builds/${ex}_timer-queue_release_1.hex ci/builds/${ex}_timer-queue_release_2.hex + cmp ci/builds/${ex}_${nightly}_timer-queue_release_1.hex \ + ci/builds/${ex}_${nightly}_timer-queue_release_2.hex fi done