automatic updates: perform verification build for at least 2 architectures

Avoid cases when automatically submitted update passed build for AArch64 but
failed for ARM.
This commit is contained in:
Leonid Pliushch 2021-07-23 14:48:55 +03:00
parent 7aa6074bf2
commit 5b27021474
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,8 @@ if [ -f "${BASEDIR}/github-projects.txt" ]; then
}
echo "Trying to build package '${package}'."
if "${BASEDIR}/../run-docker.sh" ./build-package.sh -a aarch64 -I "$package"; then
if "${BASEDIR}/../run-docker.sh" ./build-package.sh -a aarch64 -I "$package" && \
"${BASEDIR}/../run-docker.sh" ./build-package.sh -a arm -I "$package"; then
if [ "$GIT_COMMIT_PACKAGES" = "true" ]; then
git add "${BASEDIR}/../../packages/${package}"
git commit -m "$(echo -e "${package}: update to ${latest_version}\n\nThis commit has been automatically submitted by Github Actions.")"

View File

@ -16,6 +16,7 @@
## - Big packages like rust or swift.
## - Projects which belong to Termux GitHub organization.
## - Projects with releases from multiple branches: boinc.
## - Projects without GitHub releases.
## - Other projects unsuitable for automatic updates:
##
## * ghostscript