From 52dcf1c1806836f689c7b9c1de3d3ae34e7105dd Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 9 Mar 2020 11:55:22 +1100 Subject: [PATCH] ci: Build all bootloader configs when building the bootloader app CI regression in 26efc5a6d005da33ecf64d255a7e9a722f74fe02 --- tools/ci/config/pre_check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/ci/config/pre_check.yml b/tools/ci/config/pre_check.yml index 881cc2c2e..6f4baca8f 100644 --- a/tools/ci/config/pre_check.yml +++ b/tools/ci/config/pre_check.yml @@ -123,18 +123,22 @@ build_template_app: # CONFIG_COMPILER_OPTIMIZATION_DEFAULT with flag -Og - echo "CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y" > sdkconfig.defaults + - echo "CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG=y" >> sdkconfig.defaults - *build_with_make_and_cmake # CONFIG_COMPILER_OPTIMIZATION_NONE with flag -O0 - echo "CONFIG_COMPILER_OPTIMIZATION_NONE=y" > sdkconfig.defaults + - echo "CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE=y" >> sdkconfig.defaults - *build_with_make_and_cmake # CONFIG_COMPILER_OPTIMIZATION_SIZE with flag -Os - echo "CONFIG_COMPILER_OPTIMIZATION_SIZE=y" > sdkconfig.defaults + - echo "CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y" >> sdkconfig.defaults - *build_with_make_and_cmake # CONFIG_COMPILER_OPTIMIZATION_PERF with flag -O2 - echo "CONFIG_COMPILER_OPTIMIZATION_PERF=y" > sdkconfig.defaults + - echo "CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF=y" >> sdkconfig.defaults - *build_with_make_and_cmake # Same as above, but also disable assertions.