blob: 67276db5b7ae5750d58a3a6feecbce50f71af680 [file] [log] [blame]
onqtam4a655632016-05-26 14:20:52 +03001# http://www.appveyor.com/docs/appveyor-yml
2
3notifications:
4 - provider: Email
5 to:
6 - vik.kirilov@gmail.com
7 on_build_status_changed: true
8 on_build_failure: true
9 on_build_success: false
10 # gitter
11 - provider: Webhook
12 url: https://webhooks.gitter.im/e/3a78202a235c0325e516
13 on_build_status_changed: true
14 on_build_failure: true
15 on_build_success: false
16
onqtam5bb6fcc2016-06-10 21:35:44 +030017clone_depth: 100
onqtam4a655632016-05-26 14:20:52 +030018branches:
19 except:
20 - gh-pages
21 - coverity_scan
22
23matrix:
24 fast_finish: false
25
26environment:
27 matrix:
28 - platform: x86
29 configuration: Debug
30 arch: "Win32"
onqtam8805b492016-05-26 15:32:20 +030031 VS_GEN: ""
onqtam4a655632016-05-26 14:20:52 +030032 - platform: x86
33 configuration: Release
34 arch: "Win32"
onqtam8805b492016-05-26 15:32:20 +030035 VS_GEN: ""
onqtam4a655632016-05-26 14:20:52 +030036 - platform: x64
37 configuration: Debug
38 arch: "x64"
onqtam8805b492016-05-26 15:32:20 +030039 VS_GEN: " Win64"
onqtam4a655632016-05-26 14:20:52 +030040 - platform: x64
41 configuration: Release
42 arch: "x64"
onqtam8805b492016-05-26 15:32:20 +030043 VS_GEN: " Win64"
onqtam4a655632016-05-26 14:20:52 +030044
onqtam4a655632016-05-26 14:20:52 +030045build_script:
onqtam8805b492016-05-26 15:32:20 +030046# 2008 IS ENABLED ONLY FOR x86 BECAUSE CMAKE CANNOT FIND THE COMPILER FOR Win64
47 - IF "%arch%" == "Win32" mkdir 2008
48 - IF "%arch%" == "Win32" cd 2008
49 - IF "%arch%" == "Win32" set gen=Visual Studio 9 2008%VS_GEN%
50 - IF "%arch%" == "Win32" cmake .. -G "%gen%"
51 - IF "%arch%" == "Win32" msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
52 - IF "%arch%" == "Win32" ctest -C %configuration% --output-on-failure
53 - IF "%arch%" == "Win32" cd ..
54 - mkdir 2010
55 - cd 2010
56 - set gen=Visual Studio 10 2010%VS_GEN%
57 - cmake .. -G "%gen%"
onqtam4a655632016-05-26 14:20:52 +030058 - msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
onqtam4a655632016-05-26 14:20:52 +030059 - ctest -C %configuration% --output-on-failure
onqtam8805b492016-05-26 15:32:20 +030060 - cd ..
61 - mkdir 2012
62 - cd 2012
63 - set gen=Visual Studio 11 2012%VS_GEN%
64 - cmake .. -G "%gen%"
65 - msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
66 - ctest -C %configuration% --output-on-failure
67 - cd ..
68 - mkdir 2013
69 - cd 2013
70 - set gen=Visual Studio 12 2013%VS_GEN%
71 - cmake .. -G "%gen%"
72 - msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
73 - ctest -C %configuration% --output-on-failure
74 - cd ..
75 - mkdir 2015
76 - cd 2015
77 - set gen=Visual Studio 14 2015%VS_GEN%
78 - cmake .. -G "%gen%"
79 - msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
80 - ctest -C %configuration% --output-on-failure
81 - cd ..