Skip to content

Commit

Permalink
CI: Zephyr build: Be less verbose
Browse files Browse the repository at this point in the history
* Do not run the tar extract verbose, as
  that generated ~50.000 lines of output slowing down
  things and generating a huge log.
* Reduce the progress output of wget to only print one dot
  every megabyte, instead of every kilobyte reducing a lot
  the log output.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar committed Oct 15, 2023
1 parent 37f1660 commit 21a7408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build_ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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 ccache dfu-util device-tree-compiler wget || exit 1
sudo apt-get install -y ccache dfu-util device-tree-compiler wget pv || exit 1
sudo apt-get install -y python3-dev python3-pip 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
Expand All @@ -65,8 +65,8 @@ build_zephyr(){
echo 'export PATH=~/.local/bin:"$PATH"' >> ~/.bashrc
source ~/.bashrc

wget $ZEPHYR_SDK_DOWNLOAD_URL || exit 1
tar xvf $ZEPHYR_SDK_SETUP_TAR || exit 1
wget $ZEPHYR_SDK_DOWNLOAD_URL --dot-style=giga || exit 1
pv $ZEPHYR_SDK_SETUP_TAR -i 2 | 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 21a7408

Please sign in to comment.