OpenRCT2/appveyor.yml

37 lines
1.2 KiB
YAML
Raw Normal View History

2017-08-10 00:17:26 +02:00
version: 0.1.2.{build}
2016-12-16 18:11:26 +01:00
image:
2017-07-24 12:34:12 +02:00
# - Visual Studio 2015
- Visual Studio 2017
cache:
- C:\ProgramData\chocolatey\bin -> scripts\ps\appveyor_install.ps1
- C:\ProgramData\chocolatey\lib -> scripts\ps\appveyor_install.ps1
2016-05-04 23:43:49 +02:00
- secure-file -> scripts\ps\appveyor_install.ps1
2016-01-26 19:48:09 +01:00
environment:
2016-08-25 20:18:45 +02:00
OPENRCT2_ORG_TOKEN:
2016-01-27 00:12:52 +01:00
secure: leQX3xCQpmBLGuMqrxjFlzexDt96ypNRMM5TTRVHbGE8PwVg9crgeykLc2BIZU6HDHveJCHqh2cGMdHtHYJYcw==
2016-08-25 20:18:45 +02:00
BUILD_SERVER: AppVeyor
PATH: $(PATH);C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
2016-01-26 19:48:09 +01:00
install:
- ps: >-
2016-05-04 21:48:07 +02:00
.\scripts\ps\appveyor_install.ps1
2016-08-25 20:18:45 +02:00
platform:
- Win32
- x64
2016-12-03 00:07:07 +01:00
configuration: Release
2016-08-25 20:18:45 +02:00
build:
project: openrct2.proj
2016-12-02 15:54:07 +01:00
test_script:
2017-06-03 18:45:29 +02:00
- ps: msbuild openrct2.proj /t:TestNoRCT2 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_test:
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\artifacts\test-results.xml))
2015-12-12 20:41:54 +01:00
artifacts:
2016-08-26 00:07:02 +02:00
- path: .\artifacts\openrct2-portable*.zip
2016-01-26 19:48:09 +01:00
name: OpenRCT2-portable
2016-08-26 00:07:02 +02:00
- path: .\artifacts\openrct2-installer*.exe
2016-01-26 19:48:09 +01:00
name: OpenRCT2-installer
2016-08-26 00:07:02 +02:00
- path: .\artifacts\openrct2-symbols*.zip
2016-04-09 21:37:27 +02:00
name: OpenRCT2 debug symbols
deploy_script:
- ps: >-
.\scripts\ps\appveyor_deploy.ps1