Fix 5-in-1 tests

This commit is contained in:
Ben Lye 2024-02-21 13:07:18 +00:00
parent d44068ffdb
commit f0b52a9831

View File

@ -175,7 +175,7 @@ jobs:
run: | run: |
# Skip the PPM-only build for boards where it's too large now # Skip the PPM-only build for boards where it's too large now
if [[ "$BOARD" =~ ":STM32F1:multistm32f103cb:debug_option=none" ]] || [[ "$BOARD" =~ ":STM32F1:multi5in1t18int" ]]; then if [[ "$BOARD" =~ ":STM32F1:multistm32f103cb:debug_option=none" ]] || [[ "$BOARD" =~ ":STM32F1:multi5in1t18int" ]]; then
printf "Not testing serial-only build for $BOARD."; printf "Not testing PPM-only build for $BOARD.";
else else
source ./buildroot/bin/buildFunctions; source ./buildroot/bin/buildFunctions;
cp ./_Config.h.bak Multiprotocol/_Config.h cp ./_Config.h.bak Multiprotocol/_Config.h
@ -185,9 +185,14 @@ jobs:
- name: Build each RF module individually - name: Build each RF module individually
run: | run: |
# Skip the per-RF module builds for boards which have fixed modules
if [[ "$BOARD" =~ ":STM32F1:multi5in1t18int" ]]; then
printf "Not testing individual RF module builds for $BOARD.";
else
source ./buildroot/bin/buildFunctions; source ./buildroot/bin/buildFunctions;
cp ./_Config.h.bak Multiprotocol/_Config.h; cp ./_Config.h.bak Multiprotocol/_Config.h;
buildEachRFModule; buildEachRFModule;
fi
- name: Build each protocol individually - name: Build each protocol individually
run: | run: |