| 1 | skip_commits: |
| 2 | files: |
| 3 | - '*.md' |
| 4 | image: |
| 5 | - Visual Studio 2017 |
| 6 | platform: |
| 7 | - x64 |
| 8 | - Win32 |
| 9 | configuration: |
| 10 | - Debug |
| 11 | - Release |
| 12 | before_build: |
| 13 | - cmake --version |
| 14 | - cmake -Bbuild -A %PLATFORM% -DSB_CONFIG_UNITY=OFF |
| 15 | build_script: |
| 16 | - cmake --build build --config %CONFIGURATION% --parallel |
| 17 | |
| 18 | # We `cd` instead of using `--test-dir build` because the `--test-dir` |
| 19 | # argument is only supported from CMake v3.20+ (VS2017 uses CMake v3.16.2). |
| 20 | test_script: |- |
| 21 | cd build |
| 22 | ctest --build-config %CONFIGURATION% --output-on-failure |