mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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 <mail@aparcar.org>
(cherry picked from commit b8931afc94)
This commit is contained in:
committed by
Yousong Zhou
parent
3f3c613ac5
commit
ef4de15df8
@@ -106,13 +106,12 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
cat feeds.conf
|
cat feeds.conf
|
||||||
./scripts/feeds update -a > /dev/null
|
./scripts/feeds update -a > /dev/null
|
||||||
./scripts/feeds install -a > /dev/null
|
|
||||||
make defconfig > /dev/null
|
make defconfig > /dev/null
|
||||||
# enable BUILD_LOG
|
# enable BUILD_LOG
|
||||||
sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config
|
sed -i 's/# CONFIG_BUILD_LOG is not set/CONFIG_BUILD_LOG=y/' .config
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Download source, check package, compile
|
name: Install & download source, check package, compile
|
||||||
working_directory: ~/build_dir
|
working_directory: ~/build_dir
|
||||||
command: |
|
command: |
|
||||||
set +o pipefail
|
set +o pipefail
|
||||||
@@ -124,6 +123,9 @@ jobs:
|
|||||||
|
|
||||||
echo_blue "=== Found new/modified packages: $PKGS"
|
echo_blue "=== Found new/modified packages: $PKGS"
|
||||||
for PKG in $PKGS ; do
|
for PKG in $PKGS ; do
|
||||||
|
echo_blue "===+ Install: $PKG"
|
||||||
|
./scripts/feeds install "$PKG"
|
||||||
|
|
||||||
echo_blue "===+ Download: $PKG"
|
echo_blue "===+ Download: $PKG"
|
||||||
make "package/$PKG/download" V=s
|
make "package/$PKG/download" V=s
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user