[CI][action] optimize the action view (#7480)
This commit is contained in:
parent
a650e3e69c
commit
c94a849ba4
28
.github/workflows/action.yml
vendored
28
.github/workflows/action.yml
vendored
@ -45,8 +45,6 @@ jobs:
|
|||||||
- "allwinner_tina"
|
- "allwinner_tina"
|
||||||
- "ft32/ft32f072xb-starter"
|
- "ft32/ft32f072xb-starter"
|
||||||
- "mini2440"
|
- "mini2440"
|
||||||
- "mm32/mm32f3270-100ask-pitaya"
|
|
||||||
- "sam7x"
|
|
||||||
- "at91/at91sam9g45"
|
- "at91/at91sam9g45"
|
||||||
- "at91/at91sam9260"
|
- "at91/at91sam9260"
|
||||||
- "wch/arm/ch32f103c8-core"
|
- "wch/arm/ch32f103c8-core"
|
||||||
@ -67,7 +65,9 @@ jobs:
|
|||||||
- "hc32/ev_hc32f4a0_lqfp176"
|
- "hc32/ev_hc32f4a0_lqfp176"
|
||||||
- "hc32/ev_hc32f460_lqfp100_v2"
|
- "hc32/ev_hc32f460_lqfp100_v2"
|
||||||
- "hc32l196"
|
- "hc32l196"
|
||||||
- "tae32f5300"
|
#- "tae32f5300"
|
||||||
|
- "mm32/mm32f3270-100ask-pitaya"
|
||||||
|
- "sam7x"
|
||||||
- RTT_BSP: "stm32l4_f0_f1"
|
- RTT_BSP: "stm32l4_f0_f1"
|
||||||
RTT_TOOL_CHAIN: "sourcery-arm"
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
||||||
SUB_RTT_BSP:
|
SUB_RTT_BSP:
|
||||||
@ -157,8 +157,6 @@ jobs:
|
|||||||
- RTT_BSP: "nxp_renesas"
|
- RTT_BSP: "nxp_renesas"
|
||||||
RTT_TOOL_CHAIN: "sourcery-arm"
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
||||||
SUB_RTT_BSP:
|
SUB_RTT_BSP:
|
||||||
- "lpc43xx/M4"
|
|
||||||
- "lpc176x"
|
|
||||||
- "lpc55sxx/lpc55s69_nxp_evk"
|
- "lpc55sxx/lpc55s69_nxp_evk"
|
||||||
- "lpc55sxx/lpc55s28_nxp_evk"
|
- "lpc55sxx/lpc55s28_nxp_evk"
|
||||||
- "lpc55sxx/lpc55s06_nxp_evk"
|
- "lpc55sxx/lpc55s06_nxp_evk"
|
||||||
@ -179,10 +177,12 @@ jobs:
|
|||||||
- "imxrt/imxrt1060-nxp-evk"
|
- "imxrt/imxrt1060-nxp-evk"
|
||||||
- "imxrt/imxrt1064-nxp-evk"
|
- "imxrt/imxrt1064-nxp-evk"
|
||||||
- "frdm-k64f"
|
- "frdm-k64f"
|
||||||
|
- "lpc176x"
|
||||||
- "xplorer4330/M4"
|
- "xplorer4330/M4"
|
||||||
|
#- "lpc43xx/M4"
|
||||||
- "renesas/ra6m3-ek"
|
- "renesas/ra6m3-ek"
|
||||||
- "renesas/ra6m4-cpk"
|
- "renesas/ra6m4-cpk"
|
||||||
- "renesas/ra6m3-hmi-board"
|
#- "renesas/ra6m3-hmi-board"
|
||||||
- RTT_BSP: "gd32_n32_apm32"
|
- RTT_BSP: "gd32_n32_apm32"
|
||||||
RTT_TOOL_CHAIN: "sourcery-arm"
|
RTT_TOOL_CHAIN: "sourcery-arm"
|
||||||
SUB_RTT_BSP:
|
SUB_RTT_BSP:
|
||||||
@ -260,8 +260,8 @@ jobs:
|
|||||||
RTT_TOOL_CHAIN: "sourcery-mips"
|
RTT_TOOL_CHAIN: "sourcery-mips"
|
||||||
SUB_RTT_BSP:
|
SUB_RTT_BSP:
|
||||||
- "loongson/ls1bdev"
|
- "loongson/ls1bdev"
|
||||||
- "loongson/ls1cdev"
|
|
||||||
- "loongson/ls2kdev"
|
- "loongson/ls2kdev"
|
||||||
|
- "loongson/ls1cdev"
|
||||||
- RTT_BSP: "aarch64"
|
- RTT_BSP: "aarch64"
|
||||||
RTT_TOOL_CHAIN: "sourcery-aarch64"
|
RTT_TOOL_CHAIN: "sourcery-aarch64"
|
||||||
SUB_RTT_BSP:
|
SUB_RTT_BSP:
|
||||||
@ -351,10 +351,18 @@ jobs:
|
|||||||
SRTT_BSP: ${{ join(matrix.legs.SUB_RTT_BSP, ',') }}
|
SRTT_BSP: ${{ join(matrix.legs.SUB_RTT_BSP, ',') }}
|
||||||
run: |
|
run: |
|
||||||
source ~/.env/env.sh
|
source ~/.env/env.sh
|
||||||
|
failed=0
|
||||||
count=0
|
count=0
|
||||||
for bsp in $(echo $SRTT_BSP | tr ',' '\n'); do
|
for bsp in $(echo $SRTT_BSP | tr ',' '\n'); do
|
||||||
count=$((count+1))
|
count=$((count+1))
|
||||||
echo "Compiling BSP: ==$count=== $bsp ===="
|
echo "::group::Compiling BSP: ==$count=== $bsp ===="
|
||||||
pushd bsp/$bsp && scons --pyconfig-silent && pkgs --update && popd
|
echo bsp/$bsp
|
||||||
scons -C bsp/$bsp -j8
|
pushd bsp/$bsp && pkgs --update && popd
|
||||||
|
scons -C bsp/$bsp -j$(nproc) --debug=time | tee output.log || \
|
||||||
|
{ total_time=$(grep "Total command execution time" output.log | awk '{print $5}'); \
|
||||||
|
failed=$((failed+1)) ; echo "::endgroup::" ; echo "::error::build $bsp failed" ; \
|
||||||
|
echo "- ❌ build $bsp failed in $total_time seconds " >> $GITHUB_STEP_SUMMARY ; } && \
|
||||||
|
{ total_time=$(grep "Total command execution time" output.log | awk '{print $5}'); \
|
||||||
|
echo "- ✅ build $bsp success in $total_time seconds " >> $GITHUB_STEP_SUMMARY ; echo "::endgroup::" ; }
|
||||||
done
|
done
|
||||||
|
exit $failed
|
@ -27,7 +27,6 @@ menu "Hardware Drivers Config"
|
|||||||
|
|
||||||
menuconfig BSP_USING_SYSTIMER
|
menuconfig BSP_USING_SYSTIMER
|
||||||
bool "Enable SYSTIMER"
|
bool "Enable SYSTIMER"
|
||||||
select BSP_USING_SYSTIMER
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if BSP_USING_SYSTIMER
|
if BSP_USING_SYSTIMER
|
||||||
|
@ -102,7 +102,6 @@ menu "Hardware Drivers Config"
|
|||||||
|
|
||||||
menuconfig BSP_USING_SYSTIMER
|
menuconfig BSP_USING_SYSTIMER
|
||||||
bool "Enable SYSTIMER"
|
bool "Enable SYSTIMER"
|
||||||
select BSP_USING_SYSTIMER
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if BSP_USING_SYSTIMER
|
if BSP_USING_SYSTIMER
|
||||||
|
@ -80,7 +80,6 @@ menu "Hardware Drivers Config"
|
|||||||
|
|
||||||
menuconfig BSP_USING_SYSTIMER
|
menuconfig BSP_USING_SYSTIMER
|
||||||
bool "Enable SYSTIMER"
|
bool "Enable SYSTIMER"
|
||||||
select BSP_USING_SYSTIMER
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if BSP_USING_SYSTIMER
|
if BSP_USING_SYSTIMER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user