diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-06 00:04:18 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-06 00:04:18 +0200 |
commit | f4b84327e8e71f62134de753c8b5c48c7e1018c1 (patch) | |
tree | 6bbded30ddbd2224aa8cdfca26fa5e287ef178c8 /.ci | |
parent | Fix Qt5.15 issues (diff) | |
download | nheko-f4b84327e8e71f62134de753c8b5c48c7e1018c1.tar.xz |
Limit jobs on arm
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/script.sh | 7 |
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 |