Skip to content
Snippets Groups Projects
Commit b08c13b3 authored by ab0027's avatar ab0027 :speech_balloon:
Browse files

Hardcode xz threads to 12

parent 6d08f895
No related branches found
No related tags found
No related merge requests found
Pipeline #7320 passed
......@@ -2,6 +2,10 @@ stages:
- build
- publish
cache:
- paths:
- ZynthianOS/src/workspace/*.img.xz
build-zynthbox-image-armhf:
tags:
- arm64
......@@ -37,10 +41,10 @@ build-zynthbox-image-armhf:
- bash -x ./build_dist
- mv ./workspace/*.img ./workspace/$image_name
- echo "Image Size -> $(du -h ./workspace/$image_name)"
# Compress image
- echo "# Compress image"
- xz -zv --threads=$(nproc) --memory=90% ./workspace/$image_name
- xz -zv --threads=12 --memory=100% ./workspace/$image_name
- echo "Compressed Image Size -> $(du -h ./workspace/$image_name.xz)"
# Ensuring key security
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment