appveyor.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. version: 7.50.0.{build}
  2. environment:
  3. matrix:
  4. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
  5. PRJ_GEN: "Visual Studio 9 2008"
  6. PRJ_CFG: Release
  7. OPENSSL: OFF
  8. WINSSL: ON
  9. HTTP_ONLY: OFF
  10. TESTING: OFF
  11. SHARED: ON
  12. DISABLED_TESTS: ""
  13. COMPILER_PATH: ""
  14. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
  15. PRJ_GEN: "Visual Studio 15 2017 Win64"
  16. PRJ_CFG: Release
  17. OPENSSL: OFF
  18. WINSSL: ON
  19. HTTP_ONLY: OFF
  20. TESTING: OFF
  21. SHARED: ON
  22. DISABLED_TESTS: ""
  23. COMPILER_PATH: ""
  24. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
  25. PRJ_GEN: "Visual Studio 15 2017 Win64"
  26. PRJ_CFG: Release
  27. OPENSSL: ON
  28. WINSSL: OFF
  29. HTTP_ONLY: OFF
  30. TESTING: OFF
  31. SHARED: ON
  32. DISABLED_TESTS: ""
  33. COMPILER_PATH: ""
  34. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
  35. PRJ_GEN: "Visual Studio 10 2010 Win64"
  36. PRJ_CFG: Debug
  37. OPENSSL: OFF
  38. WINSSL: OFF
  39. HTTP_ONLY: OFF
  40. TESTING: ON
  41. SHARED: OFF
  42. DISABLED_TESTS: ""
  43. COMPILER_PATH: ""
  44. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
  45. PRJ_GEN: "Visual Studio 15 2017 Win64"
  46. PRJ_CFG: Debug
  47. OPENSSL: OFF
  48. WINSSL: OFF
  49. HTTP_ONLY: OFF
  50. TESTING: ON
  51. SHARED: OFF
  52. DISABLED_TESTS: ""
  53. COMPILER_PATH: ""
  54. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
  55. PRJ_GEN: "Visual Studio 15 2017 Win64"
  56. PRJ_CFG: Debug
  57. OPENSSL: OFF
  58. WINSSL: OFF
  59. HTTP_ONLY: ON
  60. TESTING: ON
  61. SHARED: OFF
  62. DISABLED_TESTS: ""
  63. COMPILER_PATH: ""
  64. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
  65. PRJ_GEN: "MSYS Makefiles"
  66. PRJ_CFG: Debug
  67. OPENSSL: OFF
  68. WINSSL: OFF
  69. HTTP_ONLY: OFF
  70. TESTING: ON
  71. SHARED: OFF
  72. DISABLED_TESTS: "!198"
  73. COMPILER_PATH: "C:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin"
  74. MSYS2_ARG_CONV_EXCL: "/*"
  75. - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
  76. PRJ_GEN: "MSYS Makefiles"
  77. PRJ_CFG: Debug
  78. OPENSSL: OFF
  79. WINSSL: OFF
  80. HTTP_ONLY: OFF
  81. TESTING: ON
  82. SHARED: OFF
  83. DISABLED_TESTS: ""
  84. COMPILER_PATH: "C:\\MinGW\\bin"
  85. MSYS2_ARG_CONV_EXCL: "/*"
  86. install:
  87. - set "PATH=C:\msys64\usr\bin;%PATH%"
  88. - if not "%COMPILER_PATH%"=="" (
  89. set "PATH=%COMPILER_PATH%;%PATH%" )
  90. build_script:
  91. - cmake .
  92. -G"%PRJ_GEN%"
  93. -DCMAKE_USE_OPENSSL=%OPENSSL%
  94. -DCMAKE_USE_WINSSL=%WINSSL%
  95. -DHTTP_ONLY=%HTTP_ONLY%
  96. -DBUILD_SHARED_LIBS=%SHARED%
  97. -DBUILD_TESTING=%TESTING%
  98. -DCURL_WERROR=ON
  99. -DENABLE_DEBUG=ON
  100. -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=""
  101. -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=""
  102. -DCMAKE_INSTALL_PREFIX="C:/CURL"
  103. -DCMAKE_BUILD_TYPE=%PRJ_CFG%
  104. - cmake --build . --config %PRJ_CFG% --clean-first
  105. test_script:
  106. - if %TESTING%==ON (
  107. bash.exe -e -l -c "cd /c/projects/curl/tests && ./runtests.pl -a -p !flaky !1139 %DISABLED_TESTS%" )
  108. # whitelist branches to avoid testing feature branches twice (as branch and as pull request)
  109. branches:
  110. only:
  111. - master