yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

ci: Graft source when archiving

Open lat9nq opened this issue 1 year ago • 1 comments

Instead of including yuzu and all the sources it uses directly, include only what specifically belongs to yuzu. Submodules can be downloaded separately later using git since a shallow clone includes minimally all the repository information needed for it.

Shrinks the source archive down from about 32 MB at time of writing to about 8 MB, both numbers after XZ compression.

lat9nq avatar Jul 31 '22 05:07 lat9nq

should source be a generated artifact from the verification builds?

also for the MSVC build, could the source be put into a 7z format? asking for maximum compression saves a little bit more

defaults:
-a----         7/31/2022   1:53 AM        7926258 yuzu-butts.7z
-a----         7/31/2022   1:52 AM       38705152 yuzu-butts.tar
-a----         7/31/2022   1:52 AM        7955576 yuzu-butts.tar.xz
-a----         7/31/2022   1:53 AM       11210157 yuzu-butts.zip

maximum compression
7z a -r -bt -mx9 -t7z yuzu-butts-source.7z yuzu-butts
-a----         7/31/2022   2:00 AM        7771092 yuzu-butts-source.7z

Docteh avatar Jul 31 '22 09:07 Docteh