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