2
0

appveyor.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. os: Visual Studio 2015
  2. # ENABLE_CUSTOM_COMPILER_FLAGS - on by default
  3. # ENABLE_SANITIZERS - off by default
  4. # ENABLE_PUBLIC_SYMBOLS - on by default
  5. # BUILD_SHARED_LIBS - on by default
  6. # ENABLE_TARGET_EXPORT - on by default
  7. # ENABLE_CJSON_UTILS - off by default
  8. # ENABLE_CJSON_TEST -on by default
  9. # ENABLE_VALGRIND - off by default
  10. # ENABLE_FUZZING - off by default
  11. environment:
  12. matrix:
  13. - GENERATOR: "Visual Studio 14 2015"
  14. BUILD_SHARED_LIBS: ON
  15. ENABLE_CJSON_TEST: OFF
  16. ENABLE_CJSON_UTILS: ON
  17. - GENERATOR: "Visual Studio 14 2015"
  18. BUILD_SHARED_LIBS: OFF
  19. ENABLE_CJSON_TEST: OFF
  20. ENABLE_CJSON_UTILS: ON
  21. - GENERATOR: "Visual Studio 12 2013"
  22. BUILD_SHARED_LIBS: ON
  23. ENABLE_CJSON_TEST: OFF
  24. ENABLE_CJSON_UTILS: ON
  25. - GENERATOR: "Visual Studio 12 2013"
  26. BUILD_SHARED_LIBS: OFF
  27. ENABLE_CJSON_TEST: OFF
  28. ENABLE_CJSON_UTILS: ON
  29. - GENERATOR: "Visual Studio 11 2012"
  30. BUILD_SHARED_LIBS: ON
  31. ENABLE_CJSON_TEST: OFF
  32. ENABLE_CJSON_UTILS: ON
  33. - GENERATOR: "Visual Studio 11 2012"
  34. BUILD_SHARED_LIBS: OFF
  35. ENABLE_CJSON_TEST: OFF
  36. ENABLE_CJSON_UTILS: ON
  37. - GENERATOR: "Visual Studio 10 2010"
  38. BUILD_SHARED_LIBS: ON
  39. ENABLE_CJSON_TEST: OFF
  40. ENABLE_CJSON_UTILS: ON
  41. - GENERATOR: "Visual Studio 10 2010"
  42. BUILD_SHARED_LIBS: OFF
  43. ENABLE_CJSON_TEST: OFF
  44. ENABLE_CJSON_UTILS: ON
  45. - GENERATOR: "Visual Studio 9 2008"
  46. BUILD_SHARED_LIBS: ON
  47. ENABLE_CJSON_TEST: OFF
  48. ENABLE_CJSON_UTILS: ON
  49. - GENERATOR: "Visual Studio 9 2008"
  50. BUILD_SHARED_LIBS: OFF
  51. ENABLE_CJSON_TEST: OFF
  52. ENABLE_CJSON_UTILS: ON
  53. platform:
  54. - x86
  55. - x64
  56. matrix:
  57. exclude:
  58. - platform: x64
  59. GENERATOR: "Visual Studio 9 2008"
  60. configuration:
  61. - Release
  62. build_script:
  63. - ps: if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" }
  64. - cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% -DENABLE_CJSON_TEST=%ENABLE_CJSON_TEST% -H. -Bbuild
  65. - cmake --build build --config "%CONFIGURATION%"
  66. on_failure:
  67. - ps: if(Test-Path builds/CMakeFiles/CMakeOutput.log) { cat builds/CMakeFiles/CMakeOutput.log }
  68. - ps: if(Test-Path builds/CMakeFiles/CMakeError.log) { cat builds/CMakeFiles/CMakeError.log }