4949 RTT_TOOL_CHAIN : " sourcery-arm"
5050 SUB_RTT_BSP :
5151 - " raspberry-pico"
52- - RTT_BSP : " others_at32_hc32_ht32 "
52+ - RTT_BSP : " at32_hc32_ht32 "
5353 RTT_TOOL_CHAIN : " sourcery-arm"
54- SUB_RTT_BSP :
55- - " qemu-vexpress-a9"
56- - " airm2m/air32f103"
57- - " acm32/acm32f0x0-nucleo"
58- - " CME_M7"
59- - " apollo2"
60- - " asm9260t"
61- - " allwinner_tina"
62- - " ft32/ft32f072xb-starter"
63- - " mini2440"
64- - " at91/at91sam9g45"
65- - " at91/at91sam9260"
66- - " wch/arm/ch32f103c8-core"
67- - " wch/arm/ch32f203r-evt"
68- - " synwit/swm320-mini"
69- - " synwit/swm341-mini"
70- - " beaglebone"
71- - " zynqmp-r5-axu4ev"
54+ SUB_RTT_BSP :
7255 - " at32/at32a403a-start"
7356 - " at32/at32a423-start"
7457 - " at32/at32f402-start"
@@ -87,30 +70,50 @@ jobs:
8770 - " at32/at32f457-start"
8871 - " at32/at32m412-start"
8972 - " at32/at32m416-start"
90- - " yichip/yc3122-pos"
9173 - " hc32/ev_hc32f4a0_lqfp176"
9274 - " hc32/ev_hc32f448_lqfp80"
9375 - " hc32/ev_hc32f460_lqfp100_v2"
9476 - " hc32/ev_hc32f472_lqfp100"
9577 - " hc32/lckfb-hc32f4a0-lqfp100"
9678 - " hc32l196"
79+ - " hc32l136"
80+ - " ht32/ht32f52352"
81+ - " ht32/ht32f12366"
82+ - " ht32/ht32f53252"
83+ - RTT_BSP : " others_ft32_mm32_acm32"
84+ RTT_TOOL_CHAIN : " sourcery-arm"
85+ SUB_RTT_BSP :
86+ - " qemu-vexpress-a9"
87+ - " airm2m/air32f103"
88+ - " acm32/acm32f0x0-nucleo"
89+ - " acm32/acm32f0x0-nucleo"
90+ - " acm32/acm32f4xx-nucleo"
91+ - " CME_M7"
92+ - " apollo2"
93+ - " asm9260t"
94+ - " allwinner_tina"
95+ - " ft32/ft32f072xb-starter"
96+ - " mini2440"
97+ - " at91/at91sam9g45"
98+ - " at91/at91sam9260"
99+ - " wch/arm/ch32f103c8-core"
100+ - " wch/arm/ch32f203r-evt"
101+ - " synwit/swm320-mini"
102+ - " synwit/swm341-mini"
103+ - " beaglebone"
104+ - " zynqmp-r5-axu4ev"
105+ - " yichip/yc3122-pos"
106+ - " yichip/yc3121-pos"
97107 - " mm32/mm32f3270-100ask-pitaya"
98108 - " mm32f327x"
99109 - " mm32f526x"
100110 - " mm32l07x"
101111 - " sam7x"
102112 - " hk32/hk32f030c8-mini"
103- - " acm32/acm32f0x0-nucleo"
104- - " acm32/acm32f4xx-nucleo"
105113 - " rm48x50"
106- - " ht32/ht32f52352"
107- - " ht32/ht32f12366"
108- - " ht32/ht32f53252"
109114 - " w60x"
110115 - " essemi/es32f0654"
111116 - " essemi/es32f365x"
112- - " hc32l136"
113- - " yichip/yc3121-pos"
114117 - " fm33lc026"
115118 - RTT_BSP : " stm32l4"
116119 RTT_TOOL_CHAIN : " sourcery-arm"
@@ -424,12 +427,25 @@ jobs:
424427 echo "RTT_CC=gcc" >> $GITHUB_ENV
425428 echo "export PATH=~/.env/tools/scripts:$PATH" > ~/.env/env.sh
426429
427- - name : Install Arm ToolChains
428- if : ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && success() }}
430+ - name : Cache GCC Arm Toolchain
431+ if : ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm'}}
432+ id : cache-gcc-arm
433+ uses : actions/cache@main
434+ with :
435+ path : /opt/gcc-arm-none-eabi-10-2020-q4-major
436+ key : ${{ runner.os }}-arm-none-eabi-10-2020-q4-major
437+
438+ - name : Download Arm ToolChains
439+ if : ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && (steps.cache-gcc-arm.outputs.cache-hit != 'true') }}
429440 shell : bash
430441 run : |
431442 wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.3/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
432443 sudo tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /opt
444+
445+ - name : Install Arm ToolChains2
446+ if : ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm'}}
447+ shell : bash
448+ run : |
433449 /opt/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc --version
434450 echo "RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin" >> $GITHUB_ENV
435451
0 commit comments