actions: twister: cleanup all west modules
In case of issues wuith module repos, cleanup all, including the bootloader tree. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fd43c725d2
commit
918f0aac19
2 changed files with 2 additions and 2 deletions
2
.github/workflows/clang.yaml
vendored
2
.github/workflows/clang.yaml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
||||||
# So first retry to update, if that does not work, remove all modules
|
# So first retry to update, if that does not work, remove all modules
|
||||||
# and start over. (Workaround until we implement more robust module
|
# and start over. (Workaround until we implement more robust module
|
||||||
# west caching).
|
# west caching).
|
||||||
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west2.log || ( rm -rf ../modules && west update --path-cache /github/cache/zephyrproject)
|
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west2.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
|
||||||
|
|
||||||
- name: Check Environment
|
- name: Check Environment
|
||||||
run: |
|
run: |
|
||||||
|
|
2
.github/workflows/twister.yaml
vendored
2
.github/workflows/twister.yaml
vendored
|
@ -157,7 +157,7 @@ jobs:
|
||||||
|
|
||||||
west init -l . || true
|
west init -l . || true
|
||||||
west config --global update.narrow true
|
west config --global update.narrow true
|
||||||
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules && west update --path-cache /github/cache/zephyrproject)
|
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
|
||||||
west forall -c 'git reset --hard HEAD'
|
west forall -c 'git reset --hard HEAD'
|
||||||
|
|
||||||
- name: Check Environment
|
- name: Check Environment
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue