From b49bd2537e13da2860f96f9cc2c032b8b8ed4f0f Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 5 Jul 2017 06:18:15 +0200 Subject: [PATCH] AppVeyor: Always use fastest compression The misc savings of 3 MB are not worth extra load on CPU, even during release builds. --- appveyor.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 24b16cab1..b41451c78 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,16 +23,7 @@ after_build: $ErrorActionPreference = 'Stop' - $RUNTIMES = 'generic', 'win-x64', 'linux-x64', "linux-arm", 'osx-x64' - - - - if ($env:APPVEYOR_REPO_TAG -eq 'true') { - $ZIP_ARGS = '-mx=9', '-mfb=257', '-mpass=15' - } else { - $ZIP_ARGS = '-mx=1' - } - + $RUNTIMES = 'generic', 'win-x64', 'linux-x64', 'linux-arm', 'osx-x64' foreach ($RUNTIME in $RUNTIMES) { @@ -44,7 +35,7 @@ after_build: Add-Content "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm.version" "$RUNTIME" - 7z a -bd -tzip -mm=Deflate64 $ZIP_ARGS "ArchiSteamFarm\out\ASF-$RUNTIME.zip" "$env:APPVEYOR_BUILD_FOLDER\ArchiSteamFarm\out\$RUNTIME\*" + 7z a -bd -tzip -mm=Deflate64 -mx=1 "ArchiSteamFarm\out\ASF-$RUNTIME.zip" "$env:APPVEYOR_BUILD_FOLDER\ArchiSteamFarm\out\$RUNTIME\*" Push-AppveyorArtifact "ArchiSteamFarm\out\ASF-$RUNTIME.zip" -FileName "ASF-$RUNTIME.zip" -DeploymentName "ASF-$RUNTIME.zip" } deploy: