ShareX/AppVeyor/appveyor.yml

30 lines
917 B
YAML
Raw Normal View History

2016-08-26 05:18:57 +12:00
version: 11.2.1.{build}
image: Visual Studio 2015
configuration:
- Release
- Debug
platform: Any CPU
shallow_clone: true
environment:
APIKeys:
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA2Hk2acXHrWkg9z6FCGASxRMJjv0+in1v5DxN1BfEPdASmhnYFu6pcINmwibGYjsxySek57cbYUDc69yQfyqX6FUI0kQcEGp8Dh3tHF981Dy
2016-08-26 06:24:21 +12:00
before_build:
- ps: >-
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
nuget restore ShareX.sln
2016-08-26 05:18:57 +12:00
build:
project: ShareX.sln
parallel: true
verbosity: minimal
after_build:
- ps: if ($env:Configuration -eq "Release") { & "ShareX.Setup\bin\Release\ShareX.Setup.exe" -appveyor }
artifacts:
- path: ShareX.Setup\InnoSetup\Output\ShareX-*-setup.exe
name: Setup
- path: ShareX.Setup\InnoSetup\Output\ShareX-portable.zip
name: Portable
- path: ShareX\bin\Release
name: Release
- path: ShareX\bin\Debug
name: Debug