Skip to content

Commit

Permalink
[action/ci] pkgs --update-force instead of pkgs --update (#10042)
Browse files Browse the repository at this point in the history
* [action/ci] pkgs --update-force instead of pkgs --update

* Update bsp_buildings.yml

* l4 单独拉出来
  • Loading branch information
supperthomas authored Feb 26, 2025
1 parent c3cfe6a commit 5c7ee28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/bsp_buildings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions tools/ci/bsp_buildings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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

Expand Down

0 comments on commit 5c7ee28

Please sign in to comment.