From 5b27021474a92ea58863d987cca0c63b30f1edc9 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 23 Jul 2021 14:48:55 +0300 Subject: [PATCH] automatic updates: perform verification build for at least 2 architectures Avoid cases when automatically submitted update passed build for AArch64 but failed for ARM. --- scripts/updates/check-updates.sh | 3 ++- scripts/updates/github-projects.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/updates/check-updates.sh b/scripts/updates/check-updates.sh index d9f628f86..9861e5e62 100755 --- a/scripts/updates/check-updates.sh +++ b/scripts/updates/check-updates.sh @@ -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.")" diff --git a/scripts/updates/github-projects.txt b/scripts/updates/github-projects.txt index a3234025e..cda9f54e3 100644 --- a/scripts/updates/github-projects.txt +++ b/scripts/updates/github-projects.txt @@ -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