Skip to content

Commit 0cc4dc4

Browse files
authored
[action] add ci menuconfig check (#9961)
1 parent ffe25c5 commit 0cc4dc4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/action_tools.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ on:
2626
- '**/*.c'
2727
- '**/*.h'
2828
- '**/*.cpp'
29+
workflow_dispatch:
30+
repository_dispatch:
2931

3032
permissions:
3133
contents: read # to fetch code (actions/checkout)
@@ -60,7 +62,12 @@ jobs:
6062
6163
- name: Build Tools
6264
run: |
63-
scons --pyconfig-silent -C $TEST_BSP_ROOT
65+
scons --pyconfig-silent -C $TEST_BSP_ROOT 2>menuconfig.log
66+
cat menuconfig.log
67+
if grep -q "warning:" menuconfig.log; then
68+
echo "Errors found in menuconfig, failing the build."
69+
exit 1
70+
fi
6471
scons -j$(nproc) -C $TEST_BSP_ROOT
6572
6673
- name: Project generate Tools

components/drivers/usb/cherryusb/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,23 +229,20 @@ if RT_USING_CHERRYUSB
229229
bool
230230
prompt "Enable usb cdc ecm driver"
231231
select RT_USING_LWIP
232-
select RT_USING_LWIP212
233232
select CONFIG_USBHOST_PLATFORM_CDC_ECM
234233
default n
235234

236235
config RT_CHERRYUSB_HOST_CDC_RNDIS
237236
bool
238237
prompt "Enable usb rndis driver"
239238
select RT_USING_LWIP
240-
select RT_USING_LWIP212
241239
select CONFIG_USBHOST_PLATFORM_CDC_RNDIS
242240
default n
243241

244242
config RT_CHERRYUSB_HOST_CDC_NCM
245243
bool
246244
prompt "Enable usb cdc ncm driver"
247245
select RT_USING_LWIP
248-
select RT_USING_LWIP212
249246
select CONFIG_USBHOST_PLATFORM_CDC_NCM
250247
default n
251248

@@ -268,15 +265,13 @@ if RT_USING_CHERRYUSB
268265
bool
269266
prompt "Enable usb asix driver"
270267
select RT_USING_LWIP
271-
select RT_USING_LWIP212
272268
select CONFIG_USBHOST_PLATFORM_ASIX
273269
default n
274270

275271
config RT_CHERRYUSB_HOST_RTL8152
276272
bool
277273
prompt "Enable usb rtl8152 driver"
278274
select RT_USING_LWIP
279-
select RT_USING_LWIP212
280275
select CONFIG_USBHOST_PLATFORM_RTL8152
281276
default n
282277

0 commit comments

Comments
 (0)