2
0

appveyor.yml 7.0 KB

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