onqtam | f732927 | 2016-05-10 22:13:57 +0300 | [diff] [blame] | 1 | # http://www.appveyor.com/docs/appveyor-yml
|
| 2 |
|
| 3 | notifications:
|
| 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 |
|
| 17 | clone_depth: 5
|
| 18 | branches:
|
| 19 | except:
|
| 20 | - gh-pages
|
| 21 | - coverity_scan
|
| 22 |
|
| 23 | matrix:
|
| 24 | fast_finish: false
|
| 25 |
|
| 26 | environment:
|
| 27 | matrix:
|
| 28 | - platform: x86
|
| 29 | configuration: Debug
|
| 30 | arch: "Win32"
|
| 31 | VS_GEN: "Visual Studio 9 2008"
|
| 32 | - platform: x86
|
| 33 | configuration: Release
|
| 34 | arch: "Win32"
|
| 35 | VS_GEN: "Visual Studio 9 2008"
|
| 36 | ## THE FOLLOWING ARE DISABLED BECAUSE CMAKE CANNOT FIND THE COMPILER FOR Win64
|
onqtam | 9522eb4 | 2016-04-30 17:13:10 +0300 | [diff] [blame] | 37 | # - platform: x64
|
| 38 | # configuration: Debug
|
| 39 | # arch: "x64"
|
onqtam | f732927 | 2016-05-10 22:13:57 +0300 | [diff] [blame] | 40 | # VS_GEN: "Visual Studio 9 2008 Win64"
|
onqtam | 9522eb4 | 2016-04-30 17:13:10 +0300 | [diff] [blame] | 41 | # - platform: x64
|
| 42 | # configuration: Release
|
| 43 | # arch: "x64"
|
onqtam | f732927 | 2016-05-10 22:13:57 +0300 | [diff] [blame] | 44 | # VS_GEN: "Visual Studio 9 2008 Win64"
|
| 45 | - platform: x86
|
| 46 | configuration: Debug
|
| 47 | arch: "Win32"
|
| 48 | VS_GEN: "Visual Studio 10 2010"
|
| 49 | - platform: x86
|
| 50 | configuration: Release
|
| 51 | arch: "Win32"
|
| 52 | VS_GEN: "Visual Studio 10 2010"
|
| 53 | - platform: x64
|
| 54 | configuration: Debug
|
| 55 | arch: "x64"
|
| 56 | VS_GEN: "Visual Studio 10 2010 Win64"
|
| 57 | - platform: x64
|
| 58 | configuration: Release
|
| 59 | arch: "x64"
|
| 60 | VS_GEN: "Visual Studio 10 2010 Win64"
|
| 61 | - platform: x86
|
| 62 | configuration: Debug
|
| 63 | arch: "Win32"
|
| 64 | VS_GEN: "Visual Studio 11 2012"
|
| 65 | - platform: x86
|
| 66 | configuration: Release
|
| 67 | arch: "Win32"
|
| 68 | VS_GEN: "Visual Studio 11 2012"
|
| 69 | - platform: x64
|
| 70 | configuration: Debug
|
| 71 | arch: "x64"
|
| 72 | VS_GEN: "Visual Studio 11 2012 Win64"
|
| 73 | - platform: x64
|
| 74 | configuration: Release
|
| 75 | arch: "x64"
|
| 76 | VS_GEN: "Visual Studio 11 2012 Win64"
|
| 77 | - platform: x86
|
| 78 | configuration: Debug
|
| 79 | arch: "Win32"
|
| 80 | VS_GEN: "Visual Studio 12 2013"
|
| 81 | - platform: x86
|
| 82 | configuration: Release
|
| 83 | arch: "Win32"
|
| 84 | VS_GEN: "Visual Studio 12 2013"
|
| 85 | - platform: x64
|
| 86 | configuration: Debug
|
| 87 | arch: "x64"
|
| 88 | VS_GEN: "Visual Studio 12 2013 Win64"
|
| 89 | - platform: x64
|
| 90 | configuration: Release
|
| 91 | arch: "x64"
|
| 92 | VS_GEN: "Visual Studio 12 2013 Win64"
|
| 93 | - platform: x86
|
| 94 | configuration: Debug
|
| 95 | arch: "Win32"
|
| 96 | VS_GEN: "Visual Studio 14 2015"
|
| 97 | - platform: x86
|
| 98 | configuration: Release
|
| 99 | arch: "Win32"
|
| 100 | VS_GEN: "Visual Studio 14 2015"
|
| 101 | - platform: x64
|
| 102 | configuration: Debug
|
| 103 | arch: "x64"
|
| 104 | VS_GEN: "Visual Studio 14 2015 Win64"
|
| 105 | - platform: x64
|
| 106 | configuration: Release
|
| 107 | arch: "x64"
|
| 108 | VS_GEN: "Visual Studio 14 2015 Win64"
|
| 109 |
|
| 110 | before_build:
|
| 111 | - cmake . -G "%VS_GEN%"
|
| 112 | build_script:
|
| 113 | - msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount
|
| 114 | test_script:
|
| 115 | # temporarily disabled - output will change often so no need for this yet
|
| 116 | # - cmake . -DTEST_MODE=COMPARE
|
| 117 | - ctest -C %configuration% --output-on-failure
|