Guillaume Chatelet | dc6f0a7 | 2018-02-02 09:36:33 +0100 | [diff] [blame] | 1 | version: '{build}' |
| 2 | shallow_clone: true |
| 3 | |
| 4 | platform: x64 |
| 5 | |
| 6 | environment: |
| 7 | matrix: |
| 8 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
| 9 | CMAKE_GENERATOR: "Visual Studio 15 2017 Win64" |
| 10 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 |
| 11 | CMAKE_GENERATOR: "Visual Studio 14 2015 Win64" |
| 12 | |
| 13 | matrix: |
| 14 | fast_finish: true |
| 15 | |
| 16 | before_build: |
| 17 | - cmake --version |
Guillaume Chatelet | 3a156da | 2018-02-08 16:59:18 +0100 | [diff] [blame] | 18 | - cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -H. -Bcmake_build -G "%CMAKE_GENERATOR%" |
Guillaume Chatelet | dc6f0a7 | 2018-02-02 09:36:33 +0100 | [diff] [blame] | 19 | |
| 20 | build_script: |
Guillaume Chatelet | 3a156da | 2018-02-08 16:59:18 +0100 | [diff] [blame] | 21 | - cmake --build cmake_build --config Debug --target ALL_BUILD |
Guillaume Chatelet | dc6f0a7 | 2018-02-02 09:36:33 +0100 | [diff] [blame] | 22 | |
| 23 | test_script: |
Guillaume Chatelet | 3a156da | 2018-02-08 16:59:18 +0100 | [diff] [blame] | 24 | - cmake --build cmake_build --config Debug --target RUN_TESTS |