From 6eeb532c96e8148eed665602fc0f32fbe5ce0ccc Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Wed, 9 Jun 2021 17:16:29 -0400 Subject: [PATCH 1/2] ci: common: Remove 7z packaging Removes the 7z from being package during CI, as only .tar.xz preserves information needed on Linux, and otherwise is just extremely redundant to package in addition to the .tar.xz. This affects Linux releases and PR-verify artifacts only. MSVC releases do not use this script to my knowledge. --- .ci/scripts/common/post-upload.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh index 99e79fcb67..387431564a 100644 --- a/.ci/scripts/common/post-upload.sh +++ b/.ci/scripts/common/post-upload.sh @@ -9,11 +9,5 @@ cp "${REV_NAME}-source.tar.xz" "$DIR_NAME" tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME" -mv "$DIR_NAME" $RELEASE_NAME -mv "${REV_NAME}-source.tar.xz" $RELEASE_NAME - -7z a "$REV_NAME.7z" $RELEASE_NAME - # move the compiled archive into the artifacts directory to be uploaded by travis releases mv "$ARCHIVE_NAME" "${ARTIFACTS_DIR}/" -mv "$REV_NAME.7z" "${ARTIFACTS_DIR}/" From fbad68de0fd9ca7f7b6248162571e7254a8c0411 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Wed, 9 Jun 2021 18:37:24 -0400 Subject: [PATCH 2/2] ci: windows: Compress using xz Use XZ instead of gzip for packing. Should save about 10 MB. --- .ci/scripts/windows/upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/scripts/windows/upload.sh b/.ci/scripts/windows/upload.sh index ebf5b7dc1b..3c6a74218e 100644 --- a/.ci/scripts/windows/upload.sh +++ b/.ci/scripts/windows/upload.sh @@ -3,8 +3,8 @@ . .ci/scripts/common/pre-upload.sh REV_NAME="yuzu-windows-mingw-${GITDATE}-${GITREV}" -ARCHIVE_NAME="${REV_NAME}.tar.gz" -COMPRESSION_FLAGS="-czvf" +ARCHIVE_NAME="${REV_NAME}.tar.xz" +COMPRESSION_FLAGS="-cJvf" if [ "${RELEASE_NAME}" = "mainline" ]; then DIR_NAME="${REV_NAME}"