mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-02-01 07:13:33 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user