Skip to content

Commit a21fb9b

Browse files
committed
CI: Ensure west update is run
The action-zephyr-setup seems to pull in specific versions of the modules. Use west update to ensure that the modules match what is specified in the yaml files. Signed-off-by: David Brown <[email protected]>
1 parent c2f32bd commit a21fb9b

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ jobs:
7272
rm renode_${RENODE_VERSION}_amd64.deb
7373
pip3 install -r /opt/renode/tests/requirements.txt --no-cache-dir
7474
75+
# Ensure that we have the modules that correspond with the Zephyr we grabbed. The
76+
# action-zephyr-setup seems to just have fixed versions it uses.
77+
- name: West update
78+
working-directory: apptest
79+
shell: bash
80+
run: |
81+
west update
82+
7583
- name: Check formatting
7684
working-directory: apptest
7785
shell: bash

.github/workflows/docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ jobs:
4141
rustup target add thumbv7em-none-eabi
4242
rustup target add thumbv7m-none-eabi
4343
44+
# Ensure that we have the modules that correspond with the Zephyr we grabbed. The
45+
# action-zephyr-setup seems to just have fixed versions it uses.
46+
- name: West update
47+
working-directory: apptest
48+
shell: bash
49+
run: |
50+
west update
51+
4452
- name: Build Rust documentation
4553
working-directory: zephyr-lang-rust
4654
run: |

0 commit comments

Comments
 (0)