From 9de217f21764eb754c33f70b326cb2a7e67f6ce3 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Sun, 15 Oct 2023 11:52:26 +0200 Subject: [PATCH] CI: Zephyr: Only fetch needed branches instead of everything Have west only fetch the needed branches instead of doing a full clone of all repositories. Signed-off-by: Alberto Escolar Piedras --- .github/actions/build_ci/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index 5e67e3ea..7c5191ac 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -77,7 +77,7 @@ build_zephyr(){ yes | ./$ZEPHYR_SDK_SETUP_DIR/setup.sh || exit 1 west init ./zephyrproject || exit 1 cd ./zephyrproject || exit 1 - west update || exit 1 + west update --narrow || exit 1 west zephyr-export || exit 1 pip3 install --user -r ./zephyr/scripts/requirements.txt || exit 1