mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Including the build artifact alleviates the need to also copy the portable ZIP over to github issues, in case the build artifacts ever get lost.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
version: 0.0.4.{build}
|
|
os: Visual Studio 2015
|
|
environment:
|
|
ENCKEY:
|
|
secure: saYAIpqXzpq0U+JH+MNi/isRQ6Y51PZhm4BrnePDiAPptFO5htxFOLegrYqxdy67
|
|
CODE-SIGN-KEY-OPENRCT2.ORG.PFX.PASSWORD:
|
|
secure: bzYmf0ElxisSGyZnIjUOYQ==
|
|
OPENRCT2.ORG_TOKEN:
|
|
secure: leQX3xCQpmBLGuMqrxjFlzexDt96ypNRMM5TTRVHbGE8PwVg9crgeykLc2BIZU6HDHveJCHqh2cGMdHtHYJYcw==
|
|
install:
|
|
- 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 --version=3.01-beta1 > nul
|
|
- ps: >-
|
|
curl "http://nsis.sourceforge.net/mediawiki/images/5/53/KillProcDll%26FindProcDll.zip" -OutFile nsisxtra.zip
|
|
|
|
7z x nsisxtra.zip > $null
|
|
|
|
cp FindProcDLL.dll "C:\ProgramData\chocolatey\lib\nsis.portable\tools\nsis-3.0b1\Plugins\x86-ansi"
|
|
build_script:
|
|
- ps: >-
|
|
.\setenv.ps1
|
|
|
|
appveyor_run
|
|
artifacts:
|
|
- path: .\artifacts\openrct2.zip
|
|
name: OpenRCT2-portable
|
|
- path: .\artifacts\*.exe
|
|
name: OpenRCT2-installer
|
|
- path: .\artifacts\openrct2-symbols-*.zip
|
|
name: OpenRCT2 debug symbols
|