appveyor.yml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  9. #
  10. # This software is licensed as described in the file COPYING, which
  11. # you should have received as part of this distribution. The terms
  12. # are also available at https://curl.se/docs/copyright.html.
  13. #
  14. # You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. # copies of the Software, and permit persons to whom the Software is
  16. # furnished to do so, under the terms of the COPYING file.
  17. #
  18. # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  19. # KIND, either express or implied.
  20. #
  21. # SPDX-License-Identifier: curl
  22. #
  23. ###########################################################################
  24. # https://ci.appveyor.com/project/curlorg/curl/history
  25. # AppVeyor configuration:
  26. # https://www.appveyor.com/docs/appveyor-yml/
  27. # AppVeyor worker images:
  28. # https://www.appveyor.com/docs/windows-images-software/
  29. version: 7.50.0.{build}
  30. environment:
  31. UNITY: 'ON'
  32. OPENSSL: 'OFF'
  33. DEBUG: 'ON'
  34. SHARED: 'OFF'
  35. HTTP_ONLY: 'OFF'
  36. TFLAGS: 'skiprun'
  37. EXAMPLES: 'OFF'
  38. matrix:
  39. # generated CMake-based Visual Studio builds
  40. - job_name: 'CMake, VS2008, Release, x86, Schannel, Shared, Build-tests'
  41. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  42. BUILD_SYSTEM: CMake
  43. PRJ_GEN: 'Visual Studio 9 2008'
  44. PRJ_CFG: Release
  45. DEBUG: 'OFF'
  46. SCHANNEL: 'ON'
  47. ENABLE_UNICODE: 'OFF'
  48. SHARED: 'ON'
  49. - job_name: 'CMake, VS2008, Debug, x86, Schannel, Shared, Build-tests & examples'
  50. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  51. BUILD_SYSTEM: CMake
  52. PRJ_GEN: 'Visual Studio 9 2008'
  53. PRJ_CFG: Debug
  54. SCHANNEL: 'ON'
  55. ENABLE_UNICODE: 'OFF'
  56. SHARED: 'ON'
  57. EXAMPLES: 'ON'
  58. - job_name: 'CMake, VS2022, Release, x64, OpenSSL 3.3, Shared, Build-tests'
  59. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  60. BUILD_SYSTEM: CMake
  61. PRJ_GEN: 'Visual Studio 17 2022'
  62. TARGET: '-A x64'
  63. PRJ_CFG: Release
  64. OPENSSL: 'ON'
  65. SCHANNEL: 'OFF'
  66. ENABLE_UNICODE: 'OFF'
  67. SHARED: 'ON'
  68. - job_name: 'CMake, VS2022, Release, arm64, Schannel, Static, Build-tests'
  69. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  70. BUILD_SYSTEM: CMake
  71. PRJ_GEN: 'Visual Studio 17 2022'
  72. TARGET: '-A ARM64'
  73. PRJ_CFG: Release
  74. SCHANNEL: 'ON'
  75. ENABLE_UNICODE: 'OFF'
  76. DEBUG: 'OFF'
  77. CURLDEBUG: 'ON'
  78. - job_name: 'CMake, VS2010, Debug, x64, Schannel, Static, Build-tests & examples'
  79. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  80. BUILD_SYSTEM: CMake
  81. PRJ_GEN: 'Visual Studio 10 2010 Win64'
  82. PRJ_CFG: Debug
  83. SCHANNEL: 'ON'
  84. ENABLE_UNICODE: 'OFF'
  85. EXAMPLES: 'ON'
  86. - job_name: 'CMake, VS2022, Debug, x64, Schannel, Static, Unicode, Build-tests & examples, clang-cl'
  87. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  88. BUILD_SYSTEM: CMake
  89. PRJ_GEN: 'Visual Studio 17 2022'
  90. TARGET: '-A x64'
  91. PRJ_CFG: Debug
  92. SCHANNEL: 'ON'
  93. ENABLE_UNICODE: 'ON'
  94. EXAMPLES: 'ON'
  95. TOOLSET: 'ClangCl'
  96. - job_name: 'CMake, VS2022, Debug, x64, Schannel, Static, Unicode, Build-tests'
  97. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  98. BUILD_SYSTEM: CMake
  99. PRJ_GEN: 'Visual Studio 17 2022'
  100. TARGET: '-A x64'
  101. PRJ_CFG: Debug
  102. SCHANNEL: 'ON'
  103. ENABLE_UNICODE: 'ON'
  104. - job_name: 'CMake, VS2022, Release, x64, Schannel, Shared, Unicode, DEBUGBUILD, no-CURLDEBUG, Build-tests'
  105. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  106. BUILD_SYSTEM: CMake
  107. PRJ_GEN: 'Visual Studio 17 2022'
  108. TARGET: '-A x64'
  109. PRJ_CFG: Release
  110. SCHANNEL: 'ON'
  111. ENABLE_UNICODE: 'ON'
  112. SHARED: 'ON'
  113. CURLDEBUG: 'OFF'
  114. - job_name: 'CMake, VS2022, Debug, x64, no SSL, Static, Build-tests'
  115. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  116. BUILD_SYSTEM: CMake
  117. PRJ_GEN: 'Visual Studio 17 2022'
  118. TARGET: '-A x64'
  119. PRJ_CFG: Debug
  120. SCHANNEL: 'OFF'
  121. ENABLE_UNICODE: 'OFF'
  122. - job_name: 'CMake, VS2022, Debug, x64, no SSL, Static, HTTP only, Build-tests'
  123. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  124. BUILD_SYSTEM: CMake
  125. PRJ_GEN: 'Visual Studio 17 2022'
  126. TARGET: '-A x64'
  127. PRJ_CFG: Debug
  128. SCHANNEL: 'OFF'
  129. ENABLE_UNICODE: 'OFF'
  130. HTTP_ONLY: 'ON'
  131. # winbuild-based builds
  132. - job_name: 'winbuild, VS2015, Debug, x64, OpenSSL 1.1.1, Build-only'
  133. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  134. BUILD_SYSTEM: winbuild_vs2015
  135. DEBUG: 'yes'
  136. PATHPART: debug
  137. ENABLE_UNICODE: 'no'
  138. - job_name: 'winbuild, VS2015, Release, x64, OpenSSL 1.1.1, Build-only'
  139. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  140. BUILD_SYSTEM: winbuild_vs2015
  141. DEBUG: 'no'
  142. PATHPART: release
  143. ENABLE_UNICODE: 'no'
  144. - job_name: 'winbuild, VS2017, Debug, x64, OpenSSL 1.1.1, Build-only'
  145. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  146. BUILD_SYSTEM: winbuild_vs2017
  147. DEBUG: 'yes'
  148. PATHPART: debug
  149. ENABLE_UNICODE: 'no'
  150. - job_name: 'winbuild, VS2017, Release, x64, OpenSSL 1.1.1, Build-only'
  151. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  152. BUILD_SYSTEM: winbuild_vs2017
  153. DEBUG: 'no'
  154. PATHPART: release
  155. ENABLE_UNICODE: 'no'
  156. - job_name: 'winbuild, VS2015, Debug, x64, OpenSSL 1.1.1, Unicode, Build-only'
  157. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  158. BUILD_SYSTEM: winbuild_vs2015
  159. DEBUG: 'yes'
  160. PATHPART: debug
  161. ENABLE_UNICODE: 'yes'
  162. - job_name: 'winbuild, VS2015, Release, x64, OpenSSL 1.1.1, Unicode, Build-only'
  163. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  164. BUILD_SYSTEM: winbuild_vs2015
  165. DEBUG: 'no'
  166. PATHPART: release
  167. ENABLE_UNICODE: 'yes'
  168. - job_name: 'winbuild, VS2017, Debug, x64, OpenSSL 1.1.1, Unicode, Build-only'
  169. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  170. BUILD_SYSTEM: winbuild_vs2017
  171. DEBUG: 'yes'
  172. PATHPART: debug
  173. ENABLE_UNICODE: 'yes'
  174. - job_name: 'winbuild, VS2017, Release, x64, OpenSSL 1.1.1, Unicode, Build-only'
  175. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  176. BUILD_SYSTEM: winbuild_vs2017
  177. DEBUG: 'no'
  178. PATHPART: release
  179. ENABLE_UNICODE: 'yes'
  180. # generated VisualStudioSolution-based builds
  181. - job_name: 'VisualStudioSolution, VS2013, Debug, x86, Schannel, Build-only'
  182. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  183. BUILD_SYSTEM: VisualStudioSolution
  184. PRJ_CFG: 'DLL Debug - DLL Windows SSPI - DLL WinIDN'
  185. VC_VERSION: VC12
  186. install:
  187. - ps: $env:PATH = "C:/msys64/usr/bin;$env:PATH"
  188. build_script:
  189. - cmd: sh -c ./appveyor.sh
  190. clone_depth: 10
  191. # select branches to avoid testing feature branches twice (as branch and as pull request)
  192. branches:
  193. only:
  194. - master
  195. - /\/ci$/
  196. skip_commits:
  197. files:
  198. - '.circleci/*'
  199. - '.github/**/*'
  200. - 'packages/**/*'
  201. - 'plan9/**/*'
  202. #artifacts:
  203. # - path: '**/curl.exe'
  204. # name: curl
  205. # - path: '**/*curl*.dll'
  206. # name: libcurl dll