make debug builds reproducible

This commit is contained in:
Jorge Aparicio 2019-02-16 00:22:00 +01:00
parent cf05dc2c4b
commit 2b8e743f35
3 changed files with 161 additions and 107 deletions

View file

@ -139,15 +139,15 @@ main() {
fi
if [ $ex != types ]; then
# arm_example "build" $ex "debug" "" "2"
# cmp ci/builds/${ex}_debug_1.hex ci/builds/${ex}_debug_2.hex
arm_example "build" $ex "debug" "" "2"
cmp ci/builds/${ex}_debug_1.hex ci/builds/${ex}_debug_2.hex
arm_example "build" $ex "release" "" "2"
cmp ci/builds/${ex}_release_1.hex ci/builds/${ex}_release_2.hex
fi
if [ $TARGET != thumbv6m-none-eabi ]; then
# arm_example "build" $ex "debug" "timer-queue" "2"
# cmp ci/builds/${ex}_timer-queue_debug_1.hex ci/builds/${ex}_timer-queue_debug_2.hex
arm_example "build" $ex "debug" "timer-queue" "2"
cmp ci/builds/${ex}_timer-queue_debug_1.hex ci/builds/${ex}_timer-queue_debug_2.hex
arm_example "build" $ex "release" "timer-queue" "2"
cmp ci/builds/${ex}_timer-queue_release_1.hex ci/builds/${ex}_timer-queue_release_2.hex
fi