From 466ccc5d8865fc0e4ab4054519019bc3dc65e234 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 15 Jun 2025 13:20:05 +1000 Subject: [PATCH] CI: Use maximum compression for zip builds --- .github/workflows/macos-build.yml | 2 +- .github/workflows/windows-build.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index c568aaac4..c76448f14 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -70,7 +70,7 @@ jobs: cmake --build . --parallel mv bin/DuckStation.app . codesign -s - --deep -f -v DuckStation.app - zip -r duckstation-mac-release.zip DuckStation.app/ + zip -9 -r duckstation-mac-release.zip DuckStation.app/ - name: Upload MacOS .app uses: actions/upload-artifact@v4 diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index fd3cc410d..939f8556d 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -83,7 +83,7 @@ jobs: - name: Create x64 Symbols Archive shell: cmd run: | - "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release-symbols.zip ./bin/x64/*.pdb + "C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-x64-release-symbols.zip ./bin/x64/*.pdb - name: Remove Extra Bloat Before Archiving shell: cmd @@ -94,7 +94,7 @@ jobs: - name: Create x64 Release Archive shell: cmd run: | - "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-release.zip ./bin/x64/* + "C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-x64-release.zip ./bin/x64/* - name: Upload x64 Release Artifact uses: actions/upload-artifact@v4 @@ -181,7 +181,7 @@ jobs: - name: Create x64 Symbols Archive shell: cmd run: | - "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-sse2-release-symbols.zip ./bin/x64/*.pdb + "C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-x64-sse2-release-symbols.zip ./bin/x64/*.pdb - name: Remove Extra Bloat Before Archiving shell: cmd @@ -192,7 +192,7 @@ jobs: - name: Create x64 Release Archive shell: cmd run: | - "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-x64-sse2-release.zip ./bin/x64/* + "C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-x64-sse2-release.zip ./bin/x64/* - name: Upload x64 Release Artifact uses: actions/upload-artifact@v4 @@ -280,7 +280,7 @@ jobs: - name: Create ARM64 symbols archive shell: cmd run: | - "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release-symbols.zip ./bin/ARM64/*.pdb + "C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-arm64-release-symbols.zip ./bin/ARM64/*.pdb - name: Remove Extra Bloat Before Archiving shell: cmd @@ -291,7 +291,7 @@ jobs: - name: Create ARM64 Release Archive shell: cmd run: | - "C:\Program Files\7-Zip\7z.exe" a -r duckstation-windows-arm64-release.zip ./bin/ARM64/* + "C:\Program Files\7-Zip\7z.exe" a -mx9 -r duckstation-windows-arm64-release.zip ./bin/ARM64/* - name: Upload ARM64 Release Artifact uses: actions/upload-artifact@v4