OpenRCT2/appveyor.yml

31 lines
1.0 KiB
YAML
Raw Normal View History

2015-12-12 20:41:54 +01:00
version: 0.0.4.{build}
2016-01-26 19:48:09 +01:00
os: Visual Studio 2015
environment:
ENCKEY:
secure: saYAIpqXzpq0U+JH+MNi/isRQ6Y51PZhm4BrnePDiAPptFO5htxFOLegrYqxdy67
CODE-SIGN-KEY-OPENRCT2.ORG.PFX.PASSWORD:
secure: bzYmf0ElxisSGyZnIjUOYQ==
2016-01-27 00:12:52 +01:00
OPENRCT2.ORG_TOKEN:
secure: leQX3xCQpmBLGuMqrxjFlzexDt96ypNRMM5TTRVHbGE8PwVg9crgeykLc2BIZU6HDHveJCHqh2cGMdHtHYJYcw==
2016-01-26 19:48:09 +01:00
install:
2016-02-13 19:50:00 +01:00
- cmd: >-
IF DEFINED ENCKEY ( nuget install secure-file -ExcludeVersion && secure-file\tools\secure-file -decrypt distribution\windows\code-sign-key-openrct2.org.pfx.enc -secret %ENCKEY% )
cinst nsis.portable -pre > nul
2016-01-26 19:48:09 +01:00
- ps: >-
curl "http://nsis.sourceforge.net/mediawiki/images/5/53/KillProcDll%26FindProcDll.zip" -OutFile nsisxtra.zip
7z x nsisxtra.zip > $null
2016-01-26 19:48:09 +01:00
cp FindProcDLL.dll "C:\ProgramData\chocolatey\lib\nsis.portable\tools\nsis-3.0b1\Plugins\x86-ansi"
2015-08-30 17:51:41 +02:00
build_script:
2015-12-12 20:41:54 +01:00
- ps: >-
.\setenv.ps1
2016-01-26 19:48:09 +01:00
appveyor_run
2015-12-12 20:41:54 +01:00
artifacts:
- path: .\artifacts\openrct2.zip
2016-01-26 19:48:09 +01:00
name: OpenRCT2-portable
- path: .\artifacts\*.exe
name: OpenRCT2-installer