2
0

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