1 image: Visual Studio 2015 2 version: '{build}' 3 4 branches: 5 except: 6 - gh-pages 7 8 platform: x64 9 10 11 environment: 12 matrix: 13 - CMAKE_GENERATOR: "Visual Studio 14 2015 Win64" 14 15 # Via https://github.com/apitrace/apitrace/blob/master/appveyor.yml 16 17 before_build: 18 - cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" 19 - C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /? 20 21 build_script: 22 - if "%APPVEYOR_REPO_TAG%"=="true" (set CONFIGURATION=RelWithDebInfo) else (set CONFIGURATION=Debug) 23 - cmake --build build --config "%CONFIGURATION%" 24 25 # TODO enable CMocka tests, maybe package the binaries 26 # TODO add MinGW 27 # TODO add older MSVC