CI: restore full builds for pull requests

When processing pull request, build dependencies instead of
downloading them.
This commit is contained in:
Leonid Pliushch 2019-07-20 15:44:01 +03:00
parent 4aaba4d074
commit cfaa34408e
1 changed files with 6 additions and 1 deletions

View File

@ -107,7 +107,12 @@ if ! $DO_UPLOAD; then
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
fi