From 01811c926b6d61ff6e068a7ff380dc960d358cbb Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 19 Sep 2025 12:25:37 +1000 Subject: [PATCH] ci: Optimize artifact sizes to fix 413 Request Entity Too Large error - Reduce Linux build artifacts to only essential files (citron binary + AppImage) - Remove build/bin/ and build/dist/ directories from artifacts (too large) - Optimize cache to only store vcpkg and dependency files - Remove .git/modules/ from cache to reduce size - Remove Android .so files from artifacts, keep only APK - This should fix the GitLab artifact upload size limit issue" Signed-off-by: Zephyron --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f70ebd73..2a66c0cfc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,8 +13,8 @@ variables: # Cache configuration for faster builds cache: paths: - - build/ - - .git/modules/ + - build/vcpkg_installed/ + - build/_deps/ key: "$CI_COMMIT_REF_SLUG" policy: pull-push @@ -93,9 +93,8 @@ build-linux: - ./AppImage-build-local.sh || echo "AppImage build failed, continuing..." artifacts: paths: - - build/bin/ + - build/bin/citron - citron.AppImage - - build/dist/ expire_in: 1 week when: always only: @@ -163,7 +162,6 @@ build-android: artifacts: paths: - src/android/app/build/outputs/apk/mainline/release/*.apk - - build-android/bin/*.so expire_in: 1 week only: - main