CI: install pip packages before exporting zephyr cmake package

Since Zephyr 4.0, the command west packages pip --install must be run
before west zephyr-export.

Without this order, an error can occur when running west zephyr-export.

ModuleNotFoundError: No module named 'jsonschema'

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
This commit is contained in:
Arnaud Pouliquen
2026-07-21 09:09:12 +02:00
committed by Arnaud Pouliquen
parent 1ca622c845
commit 6d79bdfcc0
+1 -1
View File
@@ -74,8 +74,8 @@ build_zephyr(){
west init --mr $ZEPHYR_VERSION ./zephyrproject || exit 1
cd ./zephyrproject || exit 1
west update --narrow || exit 1
west zephyr-export || exit 1
west packages pip --install || exit 1
west zephyr-export || exit 1
echo "Zephyr sdk install"
cd ./zephyr &&