Switch from zip to 7z for PDBs archive on AppVeyor

This reduces its size by more than 1.5 times.
This commit is contained in:
Mike Gelfand 2021-10-05 20:30:27 +03:00
parent 6b7f2f9e53
commit c8d0c8db2e
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ for:
artifacts:
- path: '*.msi'
- path: '*-pdb.zip'
- path: '*-pdb.7z'
deploy:
- provider: Webhook

View File

@ -64,7 +64,7 @@ function global:Build-Transmission([string] $PrefixDir, [string] $Arch, [string]
New-Item -Path $ArtifactsDir -ItemType Directory -ErrorAction Ignore | Out-Null
$MsiPackage = (Get-ChildItem (Join-Path $BuildDir dist msi 'transmission-*.msi'))[0]
Move-Item -Path $MsiPackage.FullName -Destination $ArtifactsDir
Invoke-NativeCommand cmake -E chdir $DebugSymbolsDir 7z a -y (Join-Path $ArtifactsDir "$($MsiPackage.BaseName)-pdb.zip")
Invoke-NativeCommand cmake -E chdir $DebugSymbolsDir 7z a -y (Join-Path $ArtifactsDir "$($MsiPackage.BaseName)-pdb.7z")
}
function global:Test-Transmission([string] $DepsPrefixDir, [string] $SourceDir) {