[action] Fix manual trigger for others (#8461)
This commit is contained in:
parent
6cc63626d7
commit
b78b7d6907
|
@ -34,35 +34,10 @@ on:
|
|||
- "gcc"
|
||||
- "sourcery-riscv32-esp32"
|
||||
bsp_config:
|
||||
description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT '
|
||||
description: 'Type a config you want mannual test in .config, like: CONFIG_RT_USING_DEBUG=y,CONFIG_RT_DEBUGING_COLOR=y,CONFIG_RT_DEBUGING_CONTEXT=y'
|
||||
required: false
|
||||
type: string
|
||||
default: 'CONFIG_BSP_USING_GPIO=y'
|
||||
bsp_config1:
|
||||
description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT '
|
||||
required: false
|
||||
type: string
|
||||
default: 'CONFIG_BSP_USING_GPIO=y'
|
||||
bsp_config2:
|
||||
description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT '
|
||||
required: false
|
||||
type: string
|
||||
default: 'CONFIG_BSP_USING_GPIO=y'
|
||||
bsp_config3:
|
||||
description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT '
|
||||
required: false
|
||||
type: string
|
||||
default: 'CONFIG_BSP_USING_GPIO=y'
|
||||
bsp_config4:
|
||||
description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT '
|
||||
required: false
|
||||
type: string
|
||||
default: 'CONFIG_BSP_USING_GPIO=y'
|
||||
bsp_config5:
|
||||
description: 'Type a config you want mannual test in .config, like CONFIG_BSP_USING_I2C CONFIG_BSP_USING_WDT '
|
||||
required: false
|
||||
type: string
|
||||
default: 'CONFIG_BSP_USING_GPIO=y'
|
||||
default: 'CONFIG_RT_USING_DEBUG=y,CONFIG_RT_DEBUGING_COLOR=y,CONFIG_RT_DEBUGING_CONTEXT=y'
|
||||
dist_flag:
|
||||
description: 'True to dist all bsp, False not dist'
|
||||
required: true
|
||||
|
@ -76,7 +51,6 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ github.event.inputs.bsp_options }}
|
||||
if: github.repository_owner == 'RT-Thread'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
|
@ -175,27 +149,8 @@ jobs:
|
|||
echo $RTT_BSP
|
||||
ls bsp/$RTT_BSP/Kconfig && scons -C bsp/$RTT_BSP --pyconfig-silent
|
||||
config=${{ github.event.inputs.bsp_config}}
|
||||
preconfig=${config%%=*}
|
||||
echo "$preconfig"
|
||||
sed -i "/$preconfig/ s/.*/$config/" bsp/$RTT_BSP/.config
|
||||
scons -C bsp/$RTT_BSP --pyconfig-silent
|
||||
pushd bsp/$RTT_BSP && pkgs --update && popd
|
||||
config=${{ github.event.inputs.bsp_config1}}
|
||||
preconfig=${config%%=*}
|
||||
echo "$preconfig"
|
||||
sed -i "/$preconfig/ s/.*/$config/" bsp/$RTT_BSP/.config
|
||||
scons -C bsp/$RTT_BSP --pyconfig-silent
|
||||
pushd bsp/$RTT_BSP && pkgs --update && popd
|
||||
config=${{ github.event.inputs.bsp_config2}}
|
||||
preconfig=${config%%=*}
|
||||
echo "$preconfig"
|
||||
sed -i "/$preconfig/ s/.*/$config/" bsp/$RTT_BSP/.config
|
||||
scons -C bsp/$RTT_BSP --pyconfig-silent
|
||||
pushd bsp/$RTT_BSP && pkgs --update && popd
|
||||
config=${{ github.event.inputs.bsp_config3}}
|
||||
preconfig=${config%%=*}
|
||||
echo "$preconfig"
|
||||
sed -i "/$preconfig/ s/.*/$config/" bsp/$RTT_BSP/.config
|
||||
echo "$config"
|
||||
echo "$config" >> bsp/$RTT_BSP/.config
|
||||
scons -C bsp/$RTT_BSP --pyconfig-silent
|
||||
pushd bsp/$RTT_BSP && pkgs --update && popd
|
||||
cat bsp/$RTT_BSP/.config
|
||||
|
|
Loading…
Reference in New Issue