Skip to content

Commit

Permalink
[action] add ci menuconfig check (RT-Thread#9961)
Browse files Browse the repository at this point in the history
  • Loading branch information
supperthomas authored Feb 1, 2025
1 parent ffe25c5 commit 0cc4dc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/action_tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ on:
- '**/*.c'
- '**/*.h'
- '**/*.cpp'
workflow_dispatch:
repository_dispatch:

permissions:
contents: read # to fetch code (actions/checkout)
Expand Down Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions components/drivers/usb/cherryusb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -229,23 +229,20 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb cdc ecm driver"
select RT_USING_LWIP
select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_CDC_ECM
default n

config RT_CHERRYUSB_HOST_CDC_RNDIS
bool
prompt "Enable usb rndis driver"
select RT_USING_LWIP
select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_CDC_RNDIS
default n

config RT_CHERRYUSB_HOST_CDC_NCM
bool
prompt "Enable usb cdc ncm driver"
select RT_USING_LWIP
select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_CDC_NCM
default n

Expand All @@ -268,15 +265,13 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb asix driver"
select RT_USING_LWIP
select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_ASIX
default n

config RT_CHERRYUSB_HOST_RTL8152
bool
prompt "Enable usb rtl8152 driver"
select RT_USING_LWIP
select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_RTL8152
default n

Expand Down

0 comments on commit 0cc4dc4

Please sign in to comment.