github actions: do not use option '-I' for build-package.sh

Connections to apt repositories often stuck, cause builds to time out.
As there no issues on repository side and connection problem is reproducible
only on Github Actions instances, I can only assume that there is either a
some bug in CI virtual machines setup or Github applies undocumented(?)
limits on networking usage.

Removing '-I' option will disable downloading of prebuilt dependencies
and thus networking usage at cost of increased build times.
This commit is contained in:
Leonid Pliushch 2021-05-06 19:19:38 +03:00
parent 1a9b24d547
commit 96b4e572d6
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -115,7 +115,7 @@ jobs:
if [ -f ./built_packages.txt ]; then
./scripts/lint-packages.sh $(cat ./built_packages.txt | awk '{print "packages/"$1"/build.sh"}')
./scripts/run-docker.sh ./build-package.sh -a ${{ matrix.target_arch }} -I $(cat ./built_packages.txt)
./scripts/run-docker.sh ./build-package.sh -a ${{ matrix.target_arch }} $(cat ./built_packages.txt)
fi
test -d ./termux-packages/debs && mv ./termux-packages/debs/* ./debs/