summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSupper Thomas <[email protected]>2025-02-01 12:39:22 +0800
committerGitHub <[email protected]>2025-02-01 12:39:22 +0800
commit0cc4dc4a3dd5bbb3b95ffdc7cd7f4e740a9c6b23 (patch)
tree3094a7aaae42751047389ef1769887035c830d7e /.github
parentffe25c58b91e12a9a75ed4e47e611ce1427237e4 (diff)
[action] add ci menuconfig check (#9961)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/action_tools.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/action_tools.yml b/.github/workflows/action_tools.yml
index c861027cda..413122f21b 100644
--- a/.github/workflows/action_tools.yml
+++ b/.github/workflows/action_tools.yml
@@ -26,6 +26,8 @@ on:
- '**/*.c'
- '**/*.h'
- '**/*.cpp'
+ workflow_dispatch:
+ repository_dispatch:
permissions:
contents: read # to fetch code (actions/checkout)
@@ -60,7 +62,12 @@ jobs:
- name: Build Tools
run: |
- scons --pyconfig-silent -C $TEST_BSP_ROOT
+ scons --pyconfig-silent -C $TEST_BSP_ROOT 2>menuconfig.log
+ cat menuconfig.log
+ if grep -q "warning:" menuconfig.log; then
+ echo "Errors found in menuconfig, failing the build."
+ exit 1
+ fi
scons -j$(nproc) -C $TEST_BSP_ROOT
- name: Project generate Tools