2017-02-24 14:25:16 +00:00
|
|
|
version: "{build}"
|
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
shallow_clone: true
|
|
|
|
|
|
|
|
cache: ..\openclonk-cache
|
|
|
|
|
2018-09-27 17:58:55 +00:00
|
|
|
image: Visual Studio 2017
|
2017-02-24 14:25:16 +00:00
|
|
|
configuration: RelWithDebInfo
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: "& $env:APPVEYOR_BUILD_FOLDER\\tools\\ci\\appv-Install.ps1"
|
|
|
|
before_build:
|
|
|
|
- ps: "& $env:APPVEYOR_BUILD_FOLDER\\tools\\ci\\appv-BeforeBuild.ps1"
|
|
|
|
build:
|
|
|
|
project: ../openclonk-build/openclonk.sln
|
2018-09-27 17:58:55 +00:00
|
|
|
parallel: true
|
2017-02-24 14:25:16 +00:00
|
|
|
verbosity: minimal
|
2018-09-27 17:58:55 +00:00
|
|
|
|
|
|
|
# The after_build and test_script scripts need to be called in a real
|
|
|
|
# powershell instance because they call into the MSBuild API, which has issues
|
|
|
|
# finding its data files when called from AppVeyor's powershell host, because
|
|
|
|
# it attempts to read the application config instead of the registry to find
|
|
|
|
# them (starting with MSBuild 15, which ships with Visual Studio 2017).
|
2017-02-24 14:25:16 +00:00
|
|
|
after_build:
|
2018-09-27 17:58:55 +00:00
|
|
|
- cmd: powershell -NoLogo -NoProfile -ExecutionPolicy Unrestricted -Command "& $env:APPVEYOR_BUILD_FOLDER\\tools\\ci\\appv-AfterBuild.ps1"
|
2017-02-24 14:25:16 +00:00
|
|
|
test_script:
|
2018-09-27 17:58:55 +00:00
|
|
|
- cmd: powershell -NoLogo -NoProfile -ExecutionPolicy Unrestricted -Command "& $env:APPVEYOR_BUILD_FOLDER\\tools\\ci\\appv-Test.ps1"
|
2017-02-24 14:25:16 +00:00
|
|
|
|
|
|
|
deploy: off
|