diff options
| author | Supper Thomas <[email protected]> | 2025-02-26 18:59:30 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-26 18:59:30 +0800 |
| commit | 5c7ee284b747e983c7edfdd4c7eb9e0dcc3ad55a (patch) | |
| tree | 62da2b6766ee1fa59db6ce21ba607acbe2cdb07d /tools | |
| parent | c3cfe6a9721a78281f00bbe7b54b496c1c5f810d (diff) | |
[action/ci] pkgs --update-force instead of pkgs --update (#10042)
* [action/ci] pkgs --update-force instead of pkgs --update
* Update bsp_buildings.yml
* l4 单独拉出来
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/ci/bsp_buildings.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ci/bsp_buildings.py b/tools/ci/bsp_buildings.py index f170dbe8fa..99ce680e8c 100644 --- a/tools/ci/bsp_buildings.py +++ b/tools/ci/bsp_buildings.py @@ -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 |
