-
Notifications
You must be signed in to change notification settings - Fork 47
/
appveyor.yml
77 lines (64 loc) · 2.64 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 44.BETA.{build}
image: Visual Studio 2019
# skip_tags is important or you will get an infinite build loop when we apply release tags
skip_tags: true
skip_branch_with_pr: true
# Disabled as it isn't working right
# cache:
# - Build\Debug -> Tools\deps.exe, Tools\_MakeDLL.bat, Sources\, appveyor.yml
# - Build\Release -> Tools\deps.exe, Tools\_MakeDLL.bat, Sources\, appveyor.yml
# - Build\FinalRelease -> Tools\deps.exe, Tools\_MakeDLL.bat, Sources\, appveyor.yml
# - Build\cache
# setup remote desktop access
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
svn_url: https://svn.code.sf.net/p/caveman2cosmos/code/trunk
svn_test_url: https://svn.code.sf.net/p/caveman2cosmos/code/branches/billw-git
svn_user: c2cappveyor
svn_pass:
secure: 8MBckNYRp5EVPgbGcmZ6bQ==
git_user: billw2012
git_email:
secure: AoLWYD1det69EeuLNvABlrTx2aIRf9IA6AF7s08MhZY=
git_access_token:
secure: doZmFPN5YobqYMv18KzewNLmDUlCs+gDN2CoKfHBiQ4kN6z8gtPZMztCaigRaGGJ
release_prefix: Caveman2Cosmos
build_dir: _build
release_branch: release
build_script:
- cmd: >-
call Powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%APPVEYOR_BUILD_FOLDER%\Tools\CI\fix_sources_timestamps.ps1"
call "%APPVEYOR_BUILD_FOLDER%\Tools\_AppveyorTestBuild.bat"
test_script:
- cmd: >-
cd Tools
XmlValidator.exe -a
# DISABLED: before_deploy can't access secure variables it seems, we just do everything in the deploy_script
# before_deploy:
# - cmd: >-
# call "%APPVEYOR_BUILD_FOLDER%\Tools\CI\DeployBuild.bat"
# echo %secure_test%
deploy_script:
- cmd: >-
call "%APPVEYOR_BUILD_FOLDER%\Tools\CI\DeployBuild.bat"
call "%APPVEYOR_BUILD_FOLDER%\Tools\_TrimFBuildCache.bat"
# DISABLED: this doesn't work, unauthorized
# deploy:
# - provider: GitHub
# auth_token:
# secure: 8q/T1sjdSGdr8NWfFwisFuaMGNT5v4fKCZiS98tDQtFhbbOu2nmPSclfRfFsDE4Y
# artifact: $(release_prefix)-$(APPVEYOR_BUILD_VERSION).zip,$(release_prefix)-CvGameCoreDLL-$(APPVEYOR_BUILD_VERSION).zip
# prerelease: true
# on:
# branch: test-deployment
notifications:
- provider: Slack
incoming_webhook:
secure: /rZsiy2rHhDaEh9f3Hzv6RtkcI/grO+svFlzo0AErpTBOfM0e2IDGzUVemKjvU2uQhUIL+t9TgYCItXIAcTIlAuZUgbXxJJGTQn4eJ+tkgM0Ze6dt+JSvb3H5nndmk9epWUr89PASEMdwTgw3nuJJe4f7TveskQwWbS1XNEX0lF5i/B8wj+TS5uIqZQPD/wP
channel: github
on_build_success: true
on_build_failure: true
on_build_status_changed: false