appveyor.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. version: 7.50.0.{build}
  2. environment:
  3. matrix:
  4. - PRJ_GEN: "Visual Studio 11 2012 Win64"
  5. BDIR: msvc2012
  6. PRJ_CFG: Release
  7. OPENSSL: OFF
  8. TESTING: OFF
  9. STATICLIB: OFF
  10. - PRJ_GEN: "Visual Studio 12 2013 Win64"
  11. BDIR: msvc2013
  12. PRJ_CFG: Release
  13. OPENSSL: OFF
  14. TESTING: OFF
  15. STATICLIB: OFF
  16. - PRJ_GEN: "Visual Studio 14 2015 Win64"
  17. BDIR: msvc2015
  18. PRJ_CFG: Release
  19. OPENSSL: OFF
  20. TESTING: OFF
  21. STATICLIB: OFF
  22. - PRJ_GEN: "Visual Studio 11 2012 Win64"
  23. BDIR: msvc2012
  24. PRJ_CFG: Release
  25. OPENSSL: ON
  26. TESTING: OFF
  27. STATICLIB: OFF
  28. - PRJ_GEN: "Visual Studio 12 2013 Win64"
  29. BDIR: msvc2013
  30. PRJ_CFG: Release
  31. OPENSSL: ON
  32. TESTING: OFF
  33. STATICLIB: OFF
  34. - PRJ_GEN: "Visual Studio 14 2015 Win64"
  35. BDIR: msvc2015
  36. PRJ_CFG: Release
  37. OPENSSL: ON
  38. TESTING: OFF
  39. STATICLIB: OFF
  40. - PRJ_GEN: "Visual Studio 11 2012 Win64"
  41. BDIR: msvc2012
  42. PRJ_CFG: Release
  43. OPENSSL: OFF
  44. TESTING: ON
  45. STATICLIB: ON
  46. - PRJ_GEN: "Visual Studio 12 2013 Win64"
  47. BDIR: msvc2013
  48. PRJ_CFG: Release
  49. OPENSSL: OFF
  50. TESTING: ON
  51. STATICLIB: ON
  52. - PRJ_GEN: "Visual Studio 14 2015 Win64"
  53. BDIR: msvc2015
  54. PRJ_CFG: Release
  55. OPENSSL: OFF
  56. TESTING: ON
  57. STATICLIB: ON
  58. - PRJ_GEN: "Visual Studio 14 2015"
  59. BDIR: msvc2015
  60. PRJ_CFG: Release
  61. OPENSSL: OFF
  62. TESTING: ON
  63. STATICLIB: ON
  64. build_script:
  65. - mkdir build.%BDIR%
  66. - cd build.%BDIR%
  67. - cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DCURL_STATICLIB=%STATICLIB% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON
  68. - cmake --build . --config %PRJ_CFG% --clean-first
  69. # whitelist branches to avoid testing feature branches twice (as branch and as pull request)
  70. branches:
  71. only:
  72. - master