mirror of https://github.com/RT-Thread/rt-thread
[action/ci] pkgs --update-force instead of pkgs --update (#10042)
* [action/ci] pkgs --update-force instead of pkgs --update * Update bsp_buildings.yml * l4 单独拉出来
This commit is contained in:
parent
c3cfe6a972
commit
5c7ee284b7
|
@ -109,7 +109,7 @@ jobs:
|
|||
- "hc32l136"
|
||||
- "yichip/yc3121-pos"
|
||||
- "fm33lc026"
|
||||
- RTT_BSP: "stm32l4_f0_f1"
|
||||
- RTT_BSP: "stm32l4"
|
||||
RTT_TOOL_CHAIN: "sourcery-arm"
|
||||
SUB_RTT_BSP:
|
||||
- "stm32/stm32l4r5-st-nucleo"
|
||||
|
@ -130,6 +130,9 @@ jobs:
|
|||
- "stm32/stm32l496-ali-developer"
|
||||
- "stm32/stm32l496-st-nucleo"
|
||||
- "stm32/stm32l496-st-discovery"
|
||||
- RTT_BSP: "stm32f0_f1"
|
||||
RTT_TOOL_CHAIN: "sourcery-arm"
|
||||
SUB_RTT_BSP:
|
||||
- "stm32/stm32f072-st-nucleo"
|
||||
- "stm32/stm32f091-st-nucleo"
|
||||
- "stm32/stm32f103-100ask-mini"
|
||||
|
@ -349,7 +352,7 @@ jobs:
|
|||
- "raspberry-pi/raspi3-64"
|
||||
- "raspberry-pi/raspi4-64"
|
||||
#- "rockchip/rk3568" too long
|
||||
- "phytium/aarch64"
|
||||
#- "phytium/aarch64" too long
|
||||
- RTT_BSP: "riscv-none"
|
||||
RTT_TOOL_CHAIN: "sourcery-riscv-none-embed"
|
||||
SUB_RTT_BSP:
|
||||
|
|
|
@ -62,7 +62,7 @@ def build_bsp(bsp, scons_args=''):
|
|||
run_cmd(f'scons -C bsp/{bsp} --pyconfig-silent', output_info=False)
|
||||
|
||||
os.chdir(f'{rtt_root}/bsp/{bsp}')
|
||||
run_cmd('pkgs --update', output_info=False)
|
||||
run_cmd('pkgs --update-force', output_info=False)
|
||||
run_cmd('pkgs --list')
|
||||
|
||||
nproc = multiprocessing.cpu_count()
|
||||
|
@ -76,8 +76,8 @@ def build_bsp(bsp, scons_args=''):
|
|||
os.chdir(f'{rtt_root}/bsp/{bsp}')
|
||||
run_cmd('scons -c', output_info=False)
|
||||
|
||||
pkg_dir = os.path.join(rtt_root, 'bsp', bsp, 'packages')
|
||||
shutil.rmtree(pkg_dir, ignore_errors=True)
|
||||
#pkg_dir = os.path.join(rtt_root, 'bsp', bsp, 'packages')
|
||||
#shutil.rmtree(pkg_dir, ignore_errors=True)
|
||||
|
||||
return success
|
||||
|
||||
|
|
Loading…
Reference in New Issue