From 919d0d985fed9607a892543d0beb54273d524648 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 1 Jun 2024 16:28:28 +1000 Subject: [PATCH] CI: added test for new without NEW_NOTHROW --- .github/workflows/test_chibios.yml | 1 + Tools/scripts/build_ci.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/.github/workflows/test_chibios.yml b/.github/workflows/test_chibios.yml index ed16e57e2cd40..9765e45c81976 100644 --- a/.github/workflows/test_chibios.yml +++ b/.github/workflows/test_chibios.yml @@ -159,6 +159,7 @@ jobs: CubeOrange-PPP, SOHW, Pixhawk6X-PPPGW, + new-check, ] toolchain: [ chibios, diff --git a/Tools/scripts/build_ci.sh b/Tools/scripts/build_ci.sh index 21fb6ee4c60f8..e62b133914321 100755 --- a/Tools/scripts/build_ci.sh +++ b/Tools/scripts/build_ci.sh @@ -345,6 +345,18 @@ for t in $CI_BUILD_TARGET; do $waf bootloader continue fi + + if [ "$t" == "new-check" ]; then + echo "Building Pixhawk6X with new check" + $waf configure --board Pixhawk6X --enable-new-checking + $waf clean + $waf + echo "Building Pixhawk6X-PPPGW with new check" + $waf configure --board Pixhawk6X-PPPGW --enable-new-checking + $waf clean + $waf AP_Periph + continue + fi if [ "$t" == "dds-stm32h7" ]; then echo "Building with DDS support on a STM32H7"