From ef4de15df80094d3740651adc863989eb0db40d0 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Sun, 7 Jul 2019 22:17:44 +0200 Subject: [PATCH] build: only install changed packages Installing all packages via ./scripts/feeds install -a produces a lot of error messages, it is also possible to only install the packages which were touched by the PR. Signed-off-by: Paul Spooren (cherry picked from commit b8931afc943c3ddd44e3f4ed15ec42632f68b092) --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9277cf948..19cd7d3f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -106,13 +106,12 @@ jobs: EOF cat feeds.conf ./scripts/feeds update -a > /dev/null - ./scripts/feeds install -a > /dev/null make defconfig > /dev/null # enable BUILD_LOG sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config - run: - name: Download source, check package, compile + name: Install & download source, check package, compile working_directory: ~/build_dir command: | set +o pipefail @@ -124,6 +123,9 @@ jobs: echo_blue "=== Found new/modified packages: $PKGS" for PKG in $PKGS ; do + echo_blue "===+ Install: $PKG" + ./scripts/feeds install "$PKG" + echo_blue "===+ Download: $PKG" make "package/$PKG/download" V=s