[CI][action] optimize the action view (#7480)

This commit is contained in:
supperthomas 2023-05-12 12:03:26 +08:00 committed by GitHub
parent a650e3e69c
commit c94a849ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 13 deletions

View File

@ -45,8 +45,6 @@ jobs:
- "allwinner_tina"
- "ft32/ft32f072xb-starter"
- "mini2440"
- "mm32/mm32f3270-100ask-pitaya"
- "sam7x"
- "at91/at91sam9g45"
- "at91/at91sam9260"
- "wch/arm/ch32f103c8-core"
@ -67,7 +65,9 @@ jobs:
- "hc32/ev_hc32f4a0_lqfp176"
- "hc32/ev_hc32f460_lqfp100_v2"
- "hc32l196"
- "tae32f5300"
#- "tae32f5300"
- "mm32/mm32f3270-100ask-pitaya"
- "sam7x"
- RTT_BSP: "stm32l4_f0_f1"
RTT_TOOL_CHAIN: "sourcery-arm"
SUB_RTT_BSP:
@ -157,8 +157,6 @@ jobs:
- RTT_BSP: "nxp_renesas"
RTT_TOOL_CHAIN: "sourcery-arm"
SUB_RTT_BSP:
- "lpc43xx/M4"
- "lpc176x"
- "lpc55sxx/lpc55s69_nxp_evk"
- "lpc55sxx/lpc55s28_nxp_evk"
- "lpc55sxx/lpc55s06_nxp_evk"
@ -179,10 +177,12 @@ jobs:
- "imxrt/imxrt1060-nxp-evk"
- "imxrt/imxrt1064-nxp-evk"
- "frdm-k64f"
- "lpc176x"
- "xplorer4330/M4"
#- "lpc43xx/M4"
- "renesas/ra6m3-ek"
- "renesas/ra6m4-cpk"
- "renesas/ra6m3-hmi-board"
#- "renesas/ra6m3-hmi-board"
- RTT_BSP: "gd32_n32_apm32"
RTT_TOOL_CHAIN: "sourcery-arm"
SUB_RTT_BSP:
@ -260,8 +260,8 @@ jobs:
RTT_TOOL_CHAIN: "sourcery-mips"
SUB_RTT_BSP:
- "loongson/ls1bdev"
- "loongson/ls1cdev"
- "loongson/ls2kdev"
- "loongson/ls1cdev"
- RTT_BSP: "aarch64"
RTT_TOOL_CHAIN: "sourcery-aarch64"
SUB_RTT_BSP:
@ -351,10 +351,18 @@ jobs:
SRTT_BSP: ${{ join(matrix.legs.SUB_RTT_BSP, ',') }}
run: |
source ~/.env/env.sh
failed=0
count=0
for bsp in $(echo $SRTT_BSP | tr ',' '\n'); do
count=$((count+1))
echo "Compiling BSP: ==$count=== $bsp ===="
pushd bsp/$bsp && scons --pyconfig-silent && pkgs --update && popd
scons -C bsp/$bsp -j8
echo "::group::Compiling BSP: ==$count=== $bsp ===="
echo bsp/$bsp
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
exit $failed

View File

@ -27,7 +27,6 @@ menu "Hardware Drivers Config"
menuconfig BSP_USING_SYSTIMER
bool "Enable SYSTIMER"
select BSP_USING_SYSTIMER
default n
if BSP_USING_SYSTIMER

View File

@ -102,7 +102,6 @@ menu "Hardware Drivers Config"
menuconfig BSP_USING_SYSTIMER
bool "Enable SYSTIMER"
select BSP_USING_SYSTIMER
default n
if BSP_USING_SYSTIMER

View File

@ -80,7 +80,6 @@ menu "Hardware Drivers Config"
menuconfig BSP_USING_SYSTIMER
bool "Enable SYSTIMER"
select BSP_USING_SYSTIMER
default n
if BSP_USING_SYSTIMER