-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
77 lines (67 loc) · 6.61 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
environment:
priv_key:
secure: o18/sShy+YYAoetfFCxSIvs29CQGOFXOJxCQ4G3vVZwXjDPkJJQdjMZVEpAnH2sUlrZi6XDKv00neJIVrc1777jAkzSegDrQlMe/0Q5CGxghaEr+/74I9xIOx6d61gJrCji1yCJvE2oFBnnht6AXeu7OeBU786vH2vDOcseUGoSsdk2M0AF79iTYyJyIiayQEvsqnhTMz8Ab5JVhjwFVU/PBEPpFJtFrxLg+ze8VhiXymMxPyKb+BpW5uJW3dubi5e/pQ54mojHXuQ74+tNHcsrfxo5RkxYIUrdDw0BdxJlyRz/MbCAkp4SfIDMgGZiffHL1JcQfG+IEcD81H1Q7nbKM3FiFwgVAMkSqfuIsIDGJJEI76y9qEZ1UlR/YMQ3hQPgYIeYQAC35e2Ye+pOdzwTTiCq1YrOf8cI19bvbfOiDRkvu7qQs623ml/znH5XeJJi1CN45j17yfjviKjn7092oYKqw2Shja+jjfsE/ZJjGaq9bEiHuUQPsQLW5LLHcsMk6NTW+aPr8QirI6lkyvKG707r18hh/Lby9AUvnjPMtKwAMje1kw+++nx/7V2XWYe8WWeb1AjM652eYt4B+Xg1VARR4FevHMJaAhYPwcuqAW6LYGTJqfg0X6fogeivFZAefBGFHTazWLa0AAXBi2R+NadnAOYpCE+/7NmngnKXuX1rp3MdyG+NfA2Q/wO5/5/ABTiuZmF3IoerQLL+Qw2U+W4iXbczmSykJR5KT/l5B2Jjc5tEu07hY8jY098eS7YXr1TBYiuDdB9q97+hLPWCB5njy9aZPSTen2L/2vew9aHa9zVlXSJ1QAytj8rqbuvu7sSiDfx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I1xTUJLflnePbBLGnsLbpVotcVe9snED8DFy7/mwpX8d3SpvqKeiNWRdrvu72lZ7NnGCrIs6tpU8BweNIXAwRibtxu6BZSQwBWt+jMqqPpSOyZrpbCd5XAZi5YzWQ3oKe7hBmgQ4GL5Pty6nawzL5sn74BZs7Jjsilk0drkneMILAM0ono=
shallow_clone: false
image:
- Visual Studio 2015
- Visual Studio 2017
platform:
- x86
- x64
configuration:
- Debug
- Release
install:
- ps: $fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
- ps: $fileContent += $env:priv_key.Replace(' ', "`n")
- ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n"
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
- git submodule update --init --recursive
build_script:
- mkdir build
- cd build
- SET VS_ARCH=""
- if "%platform%" == "x64" SET VS_ARCH=-A%PLATFORM%
- echo VS_ARCH = %VS_ARCH%
- cmake %VS_ARCH% .. > %APPVEYOR_BUILD_FOLDER%\configure.log
- cmake --build . --config %CONFIGURATION% > %APPVEYOR_BUILD_FOLDER%\build.log
- cd ..
- mkdir %APPVEYOR_PROJECT_NAME%
- if exist docs cp -r docs %APPVEYOR_PROJECT_NAME%
- if exist examples cp -r examples %APPVEYOR_PROJECT_NAME%
- if exist extensions cp -r extensions %APPVEYOR_PROJECT_NAME%
- if exist externals cp -r externals %APPVEYOR_PROJECT_NAME%
- if exist extras cp -r extras %APPVEYOR_PROJECT_NAME%
- if exist help cp -r help %APPVEYOR_PROJECT_NAME%
- if exist init cp -r init %APPVEYOR_PROJECT_NAME%
- if exist java-classes cp -r java-classes %APPVEYOR_PROJECT_NAME%
- if exist java-doc cp -r java-doc %APPVEYOR_PROJECT_NAME%
- if exist patchers cp -r patchers %APPVEYOR_PROJECT_NAME%
- cp icon.png %APPVEYOR_PROJECT_NAME%
- cp License.md %APPVEYOR_PROJECT_NAME%
- cp package-info.json %APPVEYOR_PROJECT_NAME%
- cp ReadMe.md %APPVEYOR_PROJECT_NAME%
- set SHORT_COMMIT=%APPVEYOR_REPO_COMMIT:~0,7%
- 7z a %APPVEYOR_PROJECT_NAME%-win-%platform%-%SHORT_COMMIT%-%CONFIGURATION%.zip %APPVEYOR_PROJECT_NAME% > %APPVEYOR_BUILD_FOLDER%\archive.log
test_script:
- cd build
- ctest -C %CONFIGURATION% . -V > %APPVEYOR_BUILD_FOLDER%\test.log
artifacts:
- name: Build
path: '*.zip'
- name: Log files
path: '*.log'
on_failure:
- appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\configure.log
- appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\build.log
- appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\test.log
deploy:
provider: S3
access_key_id: AKIAIWE3SI2TMXC5AJBA
secret_access_key:
secure: PXJw4guo+r6IdUYK6t8rW01Gi0mWHPmyH+Pa6UmZePtgV1iXaZYoO2R9CgoCQ80y
bucket: cycling74-ci
folder: $(APPVEYOR_PROJECT_NAME)
region: us-west-2
set_public: true
artifact: "$(APPVEYOR_PROJECT_NAME)-win-$(platform)-$(SHORT_COMMIT)-$(CONFIGURATION).zip"