obs-StreamFX/appveyor.yml

53 lines
1.6 KiB
YAML
Raw Normal View History

version: 0.4.2-{build}-{branch}
2018-04-24 10:33:54 +00:00
platform: x64
image: Visual Studio 2017
matrix:
fast_finish: true
environment:
CURL_VERSION: 7.39.0
2018-04-24 10:33:54 +00:00
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_COMPILER: Visual Studio 15 2017
CMAKE_COMPILER_TARGET: host=x64
CMAKE_SYSTEM_VERSION: 10.0.16299.91
CPACK_SYSTEM_NAME: win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_COMPILER: Visual Studio 15 2017 Win64
CMAKE_COMPILER_TARGET: host=x64
CMAKE_SYSTEM_VERSION: 10.0.16299.91
CPACK_SYSTEM_NAME: win64
pull_requests:
do_not_increment_build_number: true
install:
2018-04-24 10:33:54 +00:00
- git submodule update --init --recursive
before_build:
2018-04-24 10:33:54 +00:00
- mkdir build
- cd build
2018-04-24 10:36:57 +00:00
- cmake -G "%CMAKE_COMPILER%" -T "%CMAKE_COMPILER_TARGET%" -DCMAKE_SYSTEM_VERSION="%CMAKE_SYSTEM_VERSION%" -DCMAKE_INSTALL_PREFIX="%CD%/distrib" -DCPACK_GENERATOR="7Z;ZIP" -DCPACK_SYSTEM_NAME="%CPACK_SYSTEM_NAME%" ..
2018-04-24 10:33:54 +00:00
build_script:
2018-04-24 10:33:54 +00:00
- cmake --build . --config RelWithDebInfo
- cmake --build . --target PACKAGE --config RelWithDebInfo
artifacts:
2018-04-24 10:33:54 +00:00
- path: build/*.zip
- path: build/*.7z
- path: build/*.sha512
2017-11-05 16:24:41 +00:00
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: >-
{
2018-04-24 10:33:54 +00:00
"content": "**Build {{status}}**: {{buildUrl}}\n[{{commitId}}] {{commitMessage}}\nBy {{commitAuthor}} on {{commitDate}}"
2017-11-05 16:24:41 +00:00
}