Browse Source

circleci: make logs of build failures more readable

Due to concurrent build, it's currently not that easy to find the proper
reason for the package build failure, so let's just build the failing
package with -j1 in order to provide more human readable build log
failures.

Ref: https://github.com/openwrt/packages/pull/9584#issuecomment-518038631
Signed-off-by: Petr Štetiar <ynezz@true.cz>
lilik-openwrt-22.03
Petr Štetiar 5 years ago
parent
commit
b14adeb3a9
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      .circleci/config.yml

+ 5
- 1
.circleci/config.yml View File

@ -145,7 +145,11 @@ jobs:
for PKG in $PKGS ; do
echo_blue "===+ Building: $PKG"
make "package/$PKG/compile" -j3 V=s
make "package/$PKG/compile" -j3 V=s || {
RET=$?
echo_red "===+ Building: $PKG failed, rebuilding with -j1 for human readable error log"
make "package/$PKG/compile" -j1 V=s; exit $RET
}
done
- store_artifacts:


Loading…
Cancel
Save