summary refs log tree commit diff
diff options
context:
space:
mode:
-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