Skip to content

Commit 6a5fdf1

Browse files
wmamillsarnopo
authored andcommitted
CI: reduce zephyr sdk install verbosity
Reduce the console output for the Zephyr sdk install. This now matches the intent of libmetal but uses the documented wget option. Signed-off-by: Bill Mills <bill.mills@linaro.org>
1 parent c3132d0 commit 6a5fdf1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/build_ci/entrypoint.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,17 @@ build_freertos(){
9090

9191
build_zephyr(){
9292
echo " Build for Zephyr OS "
93-
sudo apt-get install -y git cmake ninja-build gperf || exit 1
93+
sudo apt-get install -y git cmake ninja-build gperf pv || exit 1
9494
sudo apt-get install -y ccache dfu-util device-tree-compiler wget || exit 1
9595
sudo apt-get install -y python3-dev python3-setuptools python3-tk python3-wheel xz-utils file || exit 1
9696
sudo apt-get install -y make gcc gcc-multilib g++-multilib libsdl2-dev || exit 1
9797
sudo apt-get install -y libc6-dev-i386 gperf g++ python3-ply python3-yaml device-tree-compiler ncurses-dev uglifyjs -qq || exit 1
9898
pip3 install west || exit 1
9999

100100
export PROJECT_ROOT=$PWD
101-
wget $ZEPHYR_SDK_DOWNLOAD_URL || exit 1
102-
tar xvf $ZEPHYR_SDK_SETUP_TAR || exit 1
101+
wget $ZEPHYR_SDK_DOWNLOAD_URL --progress=dot:giga || exit 1
102+
echo "Extracting $ZEPHYR_SDK_TAR"
103+
pv $ZEPHYR_SDK_TAR -i 3 -ptebr -f | tar xJ || exit 1
103104
rm -rf $ZEPHYR_SDK_INSTALL_DIR || exit 1
104105
yes | ./$ZEPHYR_SDK_SETUP_DIR/setup.sh || exit 1
105106
west init ./zephyrproject || exit 1

0 commit comments

Comments
 (0)