2018-01-24 05:43:33 +00:00
|
|
|
version: 0.4.2-{build}-{branch}
|
2017-11-05 13:34:53 +00:00
|
|
|
|
|
|
|
environment:
|
|
|
|
CURL_VERSION: 7.39.0
|
|
|
|
|
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
|
|
|
|
image:
|
|
|
|
- Visual Studio 2013
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2017
|
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
install:
|
|
|
|
- curl -kL https://cdn.xaymar.com/obs/prebuilt/obs-studio-20.1.0.7z -f --retry 5 -o deps-obs.7z -z deps-obs.7z
|
|
|
|
- 7z x deps-obs.7z -odeps/obs
|
|
|
|
|
|
|
|
before_build:
|
|
|
|
- cmd: ci/make.bat
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- call msbuild /m /p:Configuration=RelWithDebInfo C:\projects\obs-stream-effects\build\32\install.vcxproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
- call msbuild /m /p:Configuration=RelWithDebInfo C:\projects\obs-stream-effects\build\64\install.vcxproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
- call msbuild /m /p:Configuration=RelWithDebInfo C:\projects\obs-stream-effects\build\64\PACKAGE_ZIP.vcxproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
- call msbuild /m /p:Configuration=RelWithDebInfo C:\projects\obs-stream-effects\build\64\PACKAGE_7ZIP.vcxproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- deps-obs.7z
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: build/distrib/*.zip
|
2017-11-05 16:24:41 +00:00
|
|
|
- path: build/distrib/*.7z
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
- provider: Webhook
|
|
|
|
url:
|
|
|
|
secure: PTtt5ALhmK0q42jYyx4/Qa1Uf18+gLMXKGdzJjDISJt8IE/K0Zyp58UYmDDbbyLp4pBRf/Ylj8rn/zYL/mqBoDVRIH5zasPqIvBD0ZhtvNjTOxQ3QoRkAmxgpWeMowm3A3I1rLizA2H4EctPpoAJGrvQ1G2HEYn9tVsGYeetFTo=
|
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|
|
|
|
body: >-
|
|
|
|
{
|
|
|
|
"content": "Build {{projectName}} {{buildVersion}} {{status}}: {{buildUrl}}\nCommit #{{commitId}} by {{commitAuthor}} on {{commitDate}}:\n{{commitMessage}}"
|
|
|
|
}
|