From 0cc4dc4a3dd5bbb3b95ffdc7cd7f4e740a9c6b23 Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Sat, 1 Feb 2025 12:39:22 +0800 Subject: [action] add ci menuconfig check (#9961) --- .github/workflows/action_tools.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.github/workflows') 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 -- cgit v1.3.1