From bd6dd8f30363f33c7003f835687d290031257cf5 Mon Sep 17 00:00:00 2001
From: Anupam Basak <anupam.basak27@gmail.com>
Date: Thu, 3 Nov 2022 14:13:57 +0530
Subject: [PATCH] Set xz threads to 8

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96316b8..5026070 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ build-zynthbox-image-armhf:
     - echo "Image Size -> $(du -h ./workspace/$image_name)"
     
     # Compress image
-    - xz -zv --threads=$(( $(nproc) > 8 ? 8 : $(nproc) )) --memory=90% ./workspace/$image_name
+    - xz -zv --threads=8 --memory=90% ./workspace/$image_name
 
 publish-zynthbox-image-armhf:
   tags:
-- 
GitLab