summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/action.yml28
1 files changed, 18 insertions, 10 deletions
diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml
index 2608af5399..40b1831275 100644
--- a/.github/workflows/action.yml
+++ b/.github/workflows/action.yml
@@ -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 \ No newline at end of file