appveyor.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. version: 6.20.1.{build}
  2. environment:
  3. matrix:
  4. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
  5. CMAKE_GENERATOR: Visual Studio 17 2022
  6. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
  7. CMAKE_GENERATOR: Visual Studio 16 2019
  8. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
  9. CMAKE_GENERATOR: Visual Studio 15 2017
  10. - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
  11. CMAKE_GENERATOR: Visual Studio 14 2015
  12. - CMAKE_GENERATOR: Visual Studio 12 2013
  13. - CMAKE_GENERATOR: Visual Studio 11 2012
  14. - CMAKE_GENERATOR: Visual Studio 10 2010
  15. - CMAKE_GENERATOR: Ninja
  16. MINGW: MinGW # MinGW 32-bit 5.3.0
  17. - CMAKE_GENERATOR: Ninja
  18. MINGW32: i686-5.3.0-posix-dwarf-rt_v4-rev0 # MinGW-w64 5.3.0
  19. - CMAKE_GENERATOR: Ninja
  20. MINGW32: i686-6.3.0-posix-dwarf-rt_v5-rev1 # MinGW-w64 6.3.0 i686
  21. - CMAKE_GENERATOR: Ninja
  22. MINGW64: x86_64-6.3.0-posix-seh-rt_v5-rev1 # MinGW-w64 6.3.0 x86_64
  23. - CMAKE_GENERATOR: Ninja
  24. MINGW64: x86_64-7.3.0-posix-seh-rt_v5-rev0 # MinGW-w64 7.3.0 x86_64
  25. - CMAKE_GENERATOR: Ninja
  26. MINGW64: x86_64-8.1.0-posix-seh-rt_v6-rev0 # MinGW-w64 8.1.0 x86_64
  27. configuration: Debug
  28. before_build:
  29. - set PATH=%PATH:C:\Program Files\Git\usr\bin;=% # Workaround for CMake not wanting sh.exe on PATH for MinGW
  30. - if defined MINGW set PATH=C:\%MINGW%\bin;%PATH%
  31. - if defined MINGW32 set PATH=C:\mingw-w64\%MINGW32%\mingw32\bin;%PATH%
  32. - if defined MINGW64 set PATH=C:\mingw-w64\%MINGW64%\mingw64\bin;%PATH%
  33. - cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%CMAKE_GENERATOR%" .
  34. build_script:
  35. - cmake --build . --config %CONFIGURATION%
  36. test_script:
  37. - ctest -C %CONFIGURATION% --output-on-failure .