2018-01-24 05:43:33 +00:00
|
|
|
version: 0.4.2-{build}-{branch}
|
2017-11-05 13:34:53 +00:00
|
|
|
|
2018-04-24 10:33:54 +00:00
|
|
|
platform: x64
|
|
|
|
image: Visual Studio 2017
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
2017-11-05 13:34:53 +00:00
|
|
|
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
|
2017-11-05 13:34:53 +00:00
|
|
|
|
|
|
|
pull_requests:
|
|
|
|
do_not_increment_build_number: true
|
|
|
|
|
|
|
|
install:
|
2018-04-24 10:33:54 +00:00
|
|
|
- git submodule update --init --recursive
|
2017-11-05 13:34:53 +00:00
|
|
|
|
|
|
|
before_build:
|
2018-04-24 10:33:54 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake -G "%CMAKE_COMPILER%" -T "%CMAKE_COMPILER_TARGET%" -DCMAKE_SYSTEM_VERSION="%CMAKE_SYSTEM_VERSION%" -DINSTALL_DIR="%CD%/distrib" -DCPACK_SYSTEM_NAME="%CPACK_SYSTEM_NAME%" ..
|
|
|
|
|
2017-11-05 13:34:53 +00:00
|
|
|
build_script:
|
2018-04-24 10:33:54 +00:00
|
|
|
- cmake --build . --config RelWithDebInfo
|
|
|
|
- cmake --build . --target PACKAGE --config RelWithDebInfo
|
2017-11-05 13:34:53 +00:00
|
|
|
|
|
|
|
cache:
|
2018-04-24 10:33:54 +00:00
|
|
|
- deps.7z
|
2017-11-05 13:34:53 +00:00
|
|
|
|
|
|
|
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
|
|
|
}
|