From 442464d7c5d001a414919928b195b98c4e0ed22d Mon Sep 17 00:00:00 2001 From: Zephyron Date: Sat, 20 Sep 2025 20:51:43 +1000 Subject: [PATCH] ci: Switch to xz compression for better size reduction - Replace gzip with xz -9 compression for more aggressive compression - xz typically achieves 60-80% size reduction vs gzip's 10-20% - Change artifact path from citron.AppImage.gz to citron.AppImage.xz - This should reduce 105MB AppImage to ~20-40MB compressed - Fixes the '413 Request Entity Too Large' error for artifact upload --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16aac226a..edcf55a69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,13 +77,13 @@ build-linux: - echo "Total artifact size:" - du -sh citron.AppImage build/bin/citron 2>/dev/null || echo "Cannot measure artifact sizes" - echo "Compressing AppImage for upload..." - - gzip -9 citron.AppImage - - ls -la citron.AppImage.gz - - du -h citron.AppImage.gz - - echo "AppImage compressed successfully" + - xz -9 -c citron.AppImage > citron.AppImage.xz + - ls -la citron.AppImage.xz + - du -h citron.AppImage.xz + - echo "AppImage compressed with xz successfully" artifacts: paths: - - citron.AppImage.gz + - citron.AppImage.xz expire_in: 1 week when: always only: