From 703d1d0fc64918cf7dba65c89b87d2744f5f1443 Mon Sep 17 00:00:00 2001 From: Bill Mills Date: Thu, 17 Oct 2024 11:09:41 +0200 Subject: [PATCH] CI: reduce zephyr sdk install verbosity Reduce the console output for the Zephyr sdk install. This now matches the intent of libmetal but fixes the wget option. Signed-off-by: Bill Mills --- .github/actions/build_ci/entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/build_ci/entrypoint.sh b/.github/actions/build_ci/entrypoint.sh index 3614b362..3ffddb03 100755 --- a/.github/actions/build_ci/entrypoint.sh +++ b/.github/actions/build_ci/entrypoint.sh @@ -90,7 +90,7 @@ build_freertos(){ build_zephyr(){ echo " Build for Zephyr OS " - sudo apt-get install -y git cmake ninja-build gperf || exit 1 + sudo apt-get install -y git cmake ninja-build gperf pv || exit 1 sudo apt-get install -y ccache dfu-util device-tree-compiler wget || exit 1 sudo apt-get install -y python3-dev python3-setuptools python3-tk python3-wheel xz-utils file || exit 1 sudo apt-get install -y make gcc gcc-multilib g++-multilib libsdl2-dev || exit 1 @@ -98,8 +98,9 @@ build_zephyr(){ pip3 install west || exit 1 export PROJECT_ROOT=$PWD - wget $ZEPHYR_SDK_DOWNLOAD_URL || exit 1 - tar xvf $ZEPHYR_SDK_SETUP_TAR || exit 1 + wget $ZEPHYR_SDK_DOWNLOAD_URL --progress=dot:giga || exit 1 + echo "Extracting $ZEPHYR_SDK_TAR" + pv $ZEPHYR_SDK_TAR -i 3 -ptebr -f | tar xJ || exit 1 rm -rf $ZEPHYR_SDK_INSTALL_DIR || exit 1 yes | ./$ZEPHYR_SDK_SETUP_DIR/setup.sh || exit 1 west init ./zephyrproject || exit 1