mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-02 10:57:52 +00:00
Disable serial and PPM-only builds for STM32 x-in-1
This commit is contained in:
parent
52ecd17fa1
commit
e65e8d5f9a
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@ -161,17 +161,27 @@ jobs:
|
|||||||
|
|
||||||
- name: Build serial only
|
- name: Build serial only
|
||||||
run: |
|
run: |
|
||||||
source ./buildroot/bin/buildFunctions;
|
# Skip the serial-only build for boards where it's too large now
|
||||||
cp ./_Config.h.bak Multiprotocol/_Config.h
|
if [[ "$BOARD" =~ ":STM32F1:multistm32f103cb:debug_option=none" ]] || [[ "$BOARD" =~ ":STM32F1:multi5in1t18int" ]]; then
|
||||||
opt_disable ENABLE_PPM;
|
printf "Not testing serial-only build for $BOARD.";
|
||||||
buildMulti;
|
else
|
||||||
|
source ./buildroot/bin/buildFunctions;
|
||||||
|
cp ./_Config.h.bak Multiprotocol/_Config.h
|
||||||
|
opt_disable ENABLE_PPM;
|
||||||
|
buildMulti;
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build PPM only
|
- name: Build PPM only
|
||||||
run: |
|
run: |
|
||||||
source ./buildroot/bin/buildFunctions;
|
# Skip the PPM-only build for boards where it's too large now
|
||||||
cp ./_Config.h.bak Multiprotocol/_Config.h
|
if [[ "$BOARD" =~ ":STM32F1:multistm32f103cb:debug_option=none" ]] || [[ "$BOARD" =~ ":STM32F1:multi5in1t18int" ]]; then
|
||||||
opt_disable ENABLE_SERIAL;
|
printf "Not testing serial-only build for $BOARD.";
|
||||||
buildMulti;
|
else
|
||||||
|
source ./buildroot/bin/buildFunctions;
|
||||||
|
cp ./_Config.h.bak Multiprotocol/_Config.h
|
||||||
|
opt_disable ENABLE_SERIAL;
|
||||||
|
buildMulti;
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build each RF module individually
|
- name: Build each RF module individually
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user