2019-02-28 19:45:50 +00:00
|
|
|
# Generic Settings
|
|
|
|
version: '{build}-{branch}'
|
|
|
|
|
2018-12-23 19:49:18 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
2019-02-28 19:45:50 +00:00
|
|
|
# Build Image & Environment
|
|
|
|
platform: x64
|
2019-01-24 14:51:37 +00:00
|
|
|
|
2018-12-23 19:49:18 +00:00
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
2017-11-05 13:34:53 +00:00
|
|
|
|
|
|
|
environment:
|
2018-12-23 19:49:18 +00:00
|
|
|
CMAKE_SYSTEM_VERSION: 10.0.17134.0
|
2019-07-27 19:12:49 +00:00
|
|
|
PACKAGE_PREFIX: obs-stream-effects
|
2019-04-27 14:27:00 +00:00
|
|
|
INNOSETUP_URL: http://www.jrsoftware.org/download.php/is.exe
|
2017-11-05 13:34:53 +00:00
|
|
|
CURL_VERSION: 7.39.0
|
2019-02-28 19:45:50 +00:00
|
|
|
|
|
|
|
# Resource Cache
|
|
|
|
cache:
|
|
|
|
- inno.exe
|
2019-08-24 11:11:23 +00:00
|
|
|
- build/32/libobs-download
|
|
|
|
- build/32/libobs-src
|
|
|
|
- build/64/libobs-download
|
|
|
|
- build/64/libobs-src
|
2019-02-28 19:45:50 +00:00
|
|
|
|
|
|
|
# Repository Settings
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /i18n_.*/
|
2019-04-27 16:00:55 +00:00
|
|
|
- /i18n_master/
|
|
|
|
- i18n_master
|
|
|
|
- /l10n_.*/
|
|
|
|
- /l10n_master/
|
|
|
|
- l10n_master
|
2019-02-28 19:45:50 +00:00
|
|
|
|
|
|
|
# Building
|
2017-11-05 13:34:53 +00:00
|
|
|
install:
|
2018-12-23 19:49:18 +00:00
|
|
|
- cmd: ci/appveyor-install.bat
|
2018-04-24 10:33:54 +00:00
|
|
|
|
2017-11-05 13:34:53 +00:00
|
|
|
build_script:
|
2019-07-27 19:12:49 +00:00
|
|
|
- cmd: node ci/builder.js
|
2018-12-23 19:49:18 +00:00
|
|
|
|
|
|
|
after_build:
|
|
|
|
- cmd: ci/appveyor-package.bat
|
|
|
|
|
2019-02-28 19:45:50 +00:00
|
|
|
# Testing
|
|
|
|
test: off
|
2017-11-05 13:34:53 +00:00
|
|
|
|
2019-02-28 19:45:50 +00:00
|
|
|
# Artifacts
|
2017-11-05 13:34:53 +00:00
|
|
|
artifacts:
|
2018-12-23 19:49:18 +00:00
|
|
|
- path: build/obs-stream-effects-*.zip
|
|
|
|
- path: build/obs-stream-effects-*.7z
|
|
|
|
- path: build/obs-stream-effects-*.exe
|
|
|
|
|
2019-02-28 19:45:50 +00:00
|
|
|
# Deploying
|
2018-12-23 19:49:18 +00:00
|
|
|
deploy:
|
|
|
|
- provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: QwBI/KNma7xeTcwQUGpTNSFaZU13Qv9UpiqUKHndJgAsh3aoRM8jnGUvCcg8aQIO
|
|
|
|
draft: true
|
|
|
|
prerelease: false
|
|
|
|
force_update: true
|
|
|
|
on:
|
|
|
|
appveyor_repo_tag: true
|
|
|
|
|
2019-02-28 19:45:50 +00:00
|
|
|
# Notifications
|
2017-11-05 16:24:41 +00:00
|
|
|
notifications:
|
|
|
|
- provider: Webhook
|
|
|
|
url:
|
|
|
|
secure: PTtt5ALhmK0q42jYyx4/Qa1Uf18+gLMXKGdzJjDISJt8IE/K0Zyp58UYmDDbbyLp4pBRf/Ylj8rn/zYL/mqBoDVRIH5zasPqIvBD0ZhtvNjTOxQ3QoRkAmxgpWeMowm3A3I1rLizA2H4EctPpoAJGrvQ1G2HEYn9tVsGYeetFTo=
|
2019-02-28 19:45:50 +00:00
|
|
|
on_build_success: false
|
|
|
|
on_build_failure: false
|
2017-11-05 16:24:41 +00:00
|
|
|
on_build_status_changed: true
|
|
|
|
body: >-
|
|
|
|
{
|
2019-02-28 19:45:50 +00:00
|
|
|
"content": "**Build {{status}}**: [{{commitId}}] {{commitMessage}}\nBy {{commitAuthor}} on {{commitDate}}\n{{buildUrl}}"
|
|
|
|
}
|