appveyor.yml 894 B

12345678910111213141516171819202122
  1. version: 6.14.0.{build}
  2. environment:
  3. matrix:
  4. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
  5. CMAKE_GENERATOR: Visual Studio 16 2019
  6. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
  7. CMAKE_GENERATOR: Visual Studio 15 2017
  8. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
  9. CMAKE_GENERATOR: Visual Studio 14 2015
  10. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
  11. CMAKE_GENERATOR: Visual Studio 12 2013
  12. - CMAKE_GENERATOR: Visual Studio 11 2012
  13. - CMAKE_GENERATOR: Visual Studio 10 2010
  14. - CMAKE_GENERATOR: MinGW Makefiles
  15. configuration: Debug
  16. before_build:
  17. - set PATH=C:\MinGW\bin;%PATH:C:\Program Files\Git\usr\bin;=% # Workaround for CMake not wanting sh.exe on PATH for MinGW
  18. - cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%CMAKE_GENERATOR%" .
  19. build_script:
  20. - cmake --build . --config %CONFIGURATION%
  21. test_script:
  22. - ctest -C %CONFIGURATION% --output-on-failure .