appveyor.yml 7.0 KB

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