appveyor.yml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. TFLAGS: 'skipall'
  36. matrix:
  37. # generated CMake-based Visual Studio builds
  38. - job_name: 'CMake, VS2008, Release, x86, Schannel, Build-only'
  39. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  40. BUILD_SYSTEM: CMake
  41. PRJ_GEN: 'Visual Studio 9 2008'
  42. PRJ_CFG: Release
  43. DEBUG: 'OFF'
  44. SCHANNEL: 'ON'
  45. ENABLE_UNICODE: 'OFF'
  46. HTTP_ONLY: 'OFF'
  47. SHARED: 'ON'
  48. - job_name: 'CMake, VS2008, Debug, x86, Schannel, Build-tests'
  49. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  50. BUILD_SYSTEM: CMake
  51. PRJ_GEN: 'Visual Studio 9 2008'
  52. PRJ_CFG: Debug
  53. SCHANNEL: 'ON'
  54. ENABLE_UNICODE: 'OFF'
  55. HTTP_ONLY: 'OFF'
  56. SHARED: 'ON'
  57. TFLAGS: 'skiprun'
  58. - job_name: 'CMake, VS2022, Release, x64, OpenSSL 3.2, WebSockets, Build-only'
  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. HTTP_ONLY: 'OFF'
  68. SHARED: 'ON'
  69. WEBSOCKETS: 'ON'
  70. - job_name: 'CMake, VS2022, Release, arm64, Schannel, Static, Build-tests'
  71. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  72. BUILD_SYSTEM: CMake
  73. PRJ_GEN: 'Visual Studio 17 2022'
  74. TARGET: '-A ARM64'
  75. PRJ_CFG: Release
  76. SCHANNEL: 'ON'
  77. ENABLE_UNICODE: 'OFF'
  78. HTTP_ONLY: 'OFF'
  79. DEBUG: 'OFF'
  80. CURLDEBUG: 'ON'
  81. TFLAGS: 'skiprun'
  82. - job_name: 'CMake, VS2010, Debug, x64, Schannel, Static, Build-tests'
  83. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  84. BUILD_SYSTEM: CMake
  85. PRJ_GEN: 'Visual Studio 10 2010 Win64'
  86. PRJ_CFG: Debug
  87. SCHANNEL: 'ON'
  88. ENABLE_UNICODE: 'OFF'
  89. HTTP_ONLY: 'OFF'
  90. TFLAGS: 'skiprun'
  91. - job_name: 'CMake, VS2022, Debug, x64, Schannel, Static, Unicode, Build-only'
  92. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  93. BUILD_SYSTEM: CMake
  94. PRJ_GEN: 'Visual Studio 17 2022'
  95. TARGET: '-A x64'
  96. PRJ_CFG: Debug
  97. SCHANNEL: 'ON'
  98. ENABLE_UNICODE: 'ON'
  99. HTTP_ONLY: 'OFF'
  100. - job_name: 'CMake, VS2022, Release, x64, Schannel, Shared, Unicode, DEBUGBULID, no-CURLDEBUG, Build-only'
  101. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  102. BUILD_SYSTEM: CMake
  103. PRJ_GEN: 'Visual Studio 17 2022'
  104. TARGET: '-A x64'
  105. PRJ_CFG: Release
  106. SCHANNEL: 'ON'
  107. ENABLE_UNICODE: 'ON'
  108. HTTP_ONLY: 'OFF'
  109. SHARED: 'ON'
  110. CURLDEBUG: 'OFF'
  111. - job_name: 'CMake, VS2022, Debug, x64, no SSL, Static, Build-only'
  112. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  113. BUILD_SYSTEM: CMake
  114. PRJ_GEN: 'Visual Studio 17 2022'
  115. TARGET: '-A x64'
  116. PRJ_CFG: Debug
  117. SCHANNEL: 'OFF'
  118. ENABLE_UNICODE: 'OFF'
  119. HTTP_ONLY: 'OFF'
  120. - job_name: 'CMake, VS2022, Debug, x64, no SSL, Static, HTTP only, Build-only'
  121. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  122. BUILD_SYSTEM: CMake
  123. PRJ_GEN: 'Visual Studio 17 2022'
  124. TARGET: '-A x64'
  125. PRJ_CFG: Debug
  126. SCHANNEL: 'OFF'
  127. ENABLE_UNICODE: 'OFF'
  128. HTTP_ONLY: 'ON'
  129. # winbuild-based builds
  130. - job_name: 'winbuild, VS2015, Debug, x64, OpenSSL 1.1.1, Build-only'
  131. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  132. BUILD_SYSTEM: winbuild_vs2015
  133. DEBUG: 'yes'
  134. PATHPART: debug
  135. ENABLE_UNICODE: 'no'
  136. - job_name: 'winbuild, VS2015, Release, x64, OpenSSL 1.1.1, Build-only'
  137. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  138. BUILD_SYSTEM: winbuild_vs2015
  139. DEBUG: 'no'
  140. PATHPART: release
  141. ENABLE_UNICODE: 'no'
  142. - job_name: 'winbuild, VS2017, Debug, x64, OpenSSL 1.1.1, Build-only'
  143. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  144. BUILD_SYSTEM: winbuild_vs2017
  145. DEBUG: 'yes'
  146. PATHPART: debug
  147. ENABLE_UNICODE: 'no'
  148. - job_name: 'winbuild, VS2017, Release, x64, OpenSSL 1.1.1, Build-only'
  149. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  150. BUILD_SYSTEM: winbuild_vs2017
  151. DEBUG: 'no'
  152. PATHPART: release
  153. ENABLE_UNICODE: 'no'
  154. - job_name: 'winbuild, VS2015, Debug, x64, OpenSSL 1.1.1, Unicode, Build-only'
  155. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  156. BUILD_SYSTEM: winbuild_vs2015
  157. DEBUG: 'yes'
  158. PATHPART: debug
  159. ENABLE_UNICODE: 'yes'
  160. - job_name: 'winbuild, VS2015, Release, x64, OpenSSL 1.1.1, Unicode, Build-only'
  161. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  162. BUILD_SYSTEM: winbuild_vs2015
  163. DEBUG: 'no'
  164. PATHPART: release
  165. ENABLE_UNICODE: 'yes'
  166. - job_name: 'winbuild, VS2017, Debug, x64, OpenSSL 1.1.1, Unicode, Build-only'
  167. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  168. BUILD_SYSTEM: winbuild_vs2017
  169. DEBUG: 'yes'
  170. PATHPART: debug
  171. ENABLE_UNICODE: 'yes'
  172. - job_name: 'winbuild, VS2017, Release, x64, OpenSSL 1.1.1, Unicode, Build-only'
  173. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  174. BUILD_SYSTEM: winbuild_vs2017
  175. DEBUG: 'no'
  176. PATHPART: release
  177. ENABLE_UNICODE: 'yes'
  178. # generated VisualStudioSolution-based builds
  179. - job_name: 'VisualStudioSolution, VS2013, Debug, x86, Schannel, Build-only'
  180. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  181. BUILD_SYSTEM: VisualStudioSolution
  182. PRJ_CFG: 'DLL Debug - DLL Windows SSPI - DLL WinIDN'
  183. VC_VERSION: VC12
  184. install:
  185. - ps: $env:PATH = "C:/msys64/usr/bin;$env:PATH"
  186. build_script:
  187. - cmd: sh -c ./appveyor.sh
  188. clone_depth: 10
  189. # select branches to avoid testing feature branches twice (as branch and as pull request)
  190. branches:
  191. only:
  192. - master
  193. - /\/ci$/
  194. skip_commits:
  195. files:
  196. - '.azure-pipelines.yml'
  197. - '.circleci/*'
  198. - '.github/**/*'
  199. - 'packages/**/*'
  200. - 'plan9/**/*'
  201. #artifacts:
  202. # - path: '**/curl.exe'
  203. # name: curl
  204. # - path: '**/*curl*.dll'
  205. # name: libcurl dll