From 50ba29a8e2d374c3b075fdd1990ddd0b45b7111b Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sat, 20 Jul 2019 15:44:01 +0300 Subject: [PATCH] CI: restore full builds for pull requests When processing pull request, build dependencies instead of downloading them. --- scripts/build/ci/cirrus-ci_dispatcher.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/build/ci/cirrus-ci_dispatcher.sh b/scripts/build/ci/cirrus-ci_dispatcher.sh index 334309b95..acc8256e8 100755 --- a/scripts/build/ci/cirrus-ci_dispatcher.sh +++ b/scripts/build/ci/cirrus-ci_dispatcher.sh @@ -99,6 +99,11 @@ fi echo for pkg in $PACKAGE_NAMES; do - ./build-package.sh -a "$TERMUX_ARCH" -I "$pkg" + if [ -n "$CIRRUS_PR" ]; then + ## Use full builds for pull request. + ./build-package.sh -a "$TERMUX_ARCH" "$pkg" + else + ./build-package.sh -a "$TERMUX_ARCH" -I "$pkg" + fi done echo