appveyor.yml 799 B

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