Skip to content

Commit

Permalink
CI: reduce zephyr sdk install verbosity
Browse files Browse the repository at this point in the history
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 <bill.mills@linaro.org>
  • Loading branch information
wmamills committed Oct 17, 2024
1 parent c9b2866 commit 703d1d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,17 @@ 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
sudo apt-get install -y libc6-dev-i386 gperf g++ python3-ply python3-yaml device-tree-compiler ncurses-dev uglifyjs -qq || exit 1
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
Expand Down

0 comments on commit 703d1d0

Please sign in to comment.