summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-06-06 00:04:18 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-06-06 00:04:18 +0200
commitf4b84327e8e71f62134de753c8b5c48c7e1018c1 (patch)
tree6bbded30ddbd2224aa8cdfca26fa5e287ef178c8
parentFix Qt5.15 issues (diff)
downloadnheko-f4b84327e8e71f62134de753c8b5c48c7e1018c1.tar.xz
Limit jobs on arm
-rwxr-xr-x.ci/script.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/.ci/script.sh b/.ci/script.sh

index 32de9465..63e7f135 100755 --- a/.ci/script.sh +++ b/.ci/script.sh
@@ -6,7 +6,12 @@ if [ "$FLATPAK" ]; then mkdir -p build-flatpak cd build-flatpak - flatpak-builder --ccache --repo=repo --subject="Build of Nheko ${VERSION} `date`" app ../io.github.NhekoReborn.Nheko.json & + jobsarg="" + if [ "$ARCH" = "arm64" ]; then + jobsarg="--jobs=2" + fi + + flatpak-builder --ccache --repo=repo --subject="Build of Nheko ${VERSION} $jobsarg `date`" app ../io.github.NhekoReborn.Nheko.json & # to prevent flatpak builder from timing out on arm, run it in the background and print something every minute for up to 30 minutes. minutes=0