appveyor: upload installer artifacts for development branches

Manually configuring the artifacts at the configuration page does not
work, so let's make artifact uploads automatic again. It was previously
disabled because Dario triggers a lot of builds due to mirroring master.
That issue is now resolved by limiting uploads to other branches.

Change-Id: Id7522c1890ec749b73f9ee16ddbe76a363235663
Reviewed-on: https://code.wireshark.org/review/31962
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
sylvain/gmr1
Peter Wu 4 years ago
parent 5c4458345c
commit 9b8f04bc55
  1. 15
      appveyor.yml

@ -49,8 +49,12 @@ before_build:
after_build:
- msbuild /m nsis_package_prep.vcxproj
- msbuild /m nsis_package.vcxproj
# Relocate the installer such that the artifact URL looks nicer.
- move packaging\nsis\*.exe ..
# Publish installers only for development branches to avoid exceeding the
# artifact storage limit of 50 GB.
- ps: |
if ($Env:APPVEYOR_REPO_BRANCH -notlike "master*") {
Get-Item packaging\nsis\Wireshark-*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
}
before_test:
- msbuild /m test-programs.vcxproj
@ -63,11 +67,4 @@ on_finish:
$Tshark = "run\\$Env:CONFIGURATION\\tshark.exe"
if (Test-Path $Tshark) { & $Tshark --version }
# AppVeyor prevents to store artifacts exceeding 50 GB. Commenting out
# their upload for now. They can be re-enabled on your own repo from the
# configuration page:
# https://ci.appveyor.com/project/<username>/wireshark/settings/artifacts
# artifacts:
# - path: Wireshark-*.exe
deploy: off

Loading…
Cancel
Save