appveyor.yml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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. version: 7.50.0.{build}
  28. environment:
  29. UNITY: 'OFF'
  30. OPENSSL: 'OFF'
  31. DEBUG: 'ON'
  32. SHARED: 'OFF'
  33. matrix:
  34. # generated CMake-based Visual Studio Release builds
  35. - job_name: 'CMake, VS2008, Release x86, Schannel, Build-only'
  36. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  37. BUILD_SYSTEM: CMake
  38. PRJ_GEN: 'Visual Studio 9 2008'
  39. PRJ_CFG: Release
  40. SCHANNEL: 'ON'
  41. ENABLE_UNICODE: 'OFF'
  42. HTTP_ONLY: 'OFF'
  43. SHARED: 'ON'
  44. TESTING: 'OFF'
  45. DISABLED_TESTS: ''
  46. SKIP_RUN: 'Needs missing MSVCR90.dll'
  47. - job_name: 'CMake, VS2022, Release x64, OpenSSL, WebSockets, Unity, Build-only'
  48. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  49. BUILD_SYSTEM: CMake
  50. PRJ_GEN: 'Visual Studio 17 2022'
  51. TARGET: '-A x64'
  52. PRJ_CFG: Release
  53. OPENSSL: 'ON'
  54. SCHANNEL: 'OFF'
  55. ENABLE_UNICODE: 'OFF'
  56. HTTP_ONLY: 'OFF'
  57. SHARED: 'ON'
  58. TESTING: 'OFF'
  59. DISABLED_TESTS: ''
  60. WEBSOCKETS: 'ON'
  61. UNITY: 'ON'
  62. - job_name: 'CMake, VS2022, Release arm64, Schannel, Static, Build-only'
  63. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  64. BUILD_SYSTEM: CMake
  65. PRJ_GEN: 'Visual Studio 17 2022'
  66. TARGET: '-A ARM64'
  67. PRJ_CFG: Release
  68. SCHANNEL: 'ON'
  69. ENABLE_UNICODE: 'OFF'
  70. HTTP_ONLY: 'OFF'
  71. TESTING: 'OFF'
  72. DISABLED_TESTS: ''
  73. # generated CMake-based Visual Studio Debug builds
  74. - job_name: 'CMake, VS2010, Debug x64, no SSL, Static'
  75. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  76. BUILD_SYSTEM: CMake
  77. PRJ_GEN: 'Visual Studio 10 2010 Win64'
  78. PRJ_CFG: Debug
  79. SCHANNEL: 'OFF'
  80. ENABLE_UNICODE: 'OFF'
  81. HTTP_ONLY: 'OFF'
  82. TESTING: 'ON'
  83. DISABLED_TESTS: '!1139 !1501'
  84. ADD_PATH: 'C:\msys64\usr\bin'
  85. - job_name: 'CMake, VS2022, Debug x64, Schannel, Static, Unicode'
  86. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  87. BUILD_SYSTEM: CMake
  88. PRJ_GEN: 'Visual Studio 17 2022'
  89. TARGET: '-A x64'
  90. PRJ_CFG: Debug
  91. SCHANNEL: 'ON'
  92. ENABLE_UNICODE: 'ON'
  93. HTTP_ONLY: 'OFF'
  94. TESTING: 'ON'
  95. DISABLED_TESTS: '!1139 !1501'
  96. ADD_PATH: 'C:\msys64\usr\bin'
  97. - job_name: 'CMake, VS2022, Debug x64, no SSL, Static'
  98. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  99. BUILD_SYSTEM: CMake
  100. PRJ_GEN: 'Visual Studio 17 2022'
  101. TARGET: '-A x64'
  102. PRJ_CFG: Debug
  103. SCHANNEL: 'OFF'
  104. ENABLE_UNICODE: 'OFF'
  105. HTTP_ONLY: 'OFF'
  106. TESTING: 'ON'
  107. DISABLED_TESTS: '!1139 !1501'
  108. ADD_PATH: 'C:\msys64\usr\bin'
  109. - job_name: 'CMake, VS2022, Debug x64, no SSL, Static, HTTP 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: 'ON'
  118. TESTING: 'ON'
  119. DISABLED_TESTS: '!1139 !1501'
  120. ADD_PATH: 'C:\msys64\usr\bin'
  121. # generated CMake-based MSYS Makefiles builds (mingw cross-compiling)
  122. - job_name: 'CMake, mingw-w64, gcc 13, Debug x64, Schannel, Static, Unicode, Unity'
  123. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  124. BUILD_SYSTEM: CMake
  125. PRJ_GEN: 'MSYS Makefiles'
  126. PRJ_CFG: Debug
  127. SCHANNEL: 'ON'
  128. ENABLE_UNICODE: 'ON'
  129. HTTP_ONLY: 'OFF'
  130. TESTING: 'ON'
  131. DISABLED_TESTS: '!1086 !1139 !1451 !1501'
  132. ADD_PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin'
  133. MSYS2_ARG_CONV_EXCL: '/*'
  134. BUILD_OPT: -k
  135. UNITY: 'ON'
  136. - job_name: 'CMake, mingw-w64, gcc 7, Debug x64, Schannel, Static, Unicode'
  137. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  138. BUILD_SYSTEM: CMake
  139. PRJ_GEN: 'MSYS Makefiles'
  140. PRJ_CFG: Debug
  141. SCHANNEL: 'ON'
  142. ENABLE_UNICODE: 'ON'
  143. HTTP_ONLY: 'OFF'
  144. TESTING: 'ON'
  145. DISABLED_TESTS: '!1086 !1139 !1451 !1501'
  146. ADD_PATH: 'C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;C:\msys64\usr\bin'
  147. MSYS2_ARG_CONV_EXCL: '/*'
  148. BUILD_OPT: -k
  149. - job_name: 'CMake, mingw-w64, gcc 9, Debug x64, Schannel, Static, Unity'
  150. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  151. BUILD_SYSTEM: CMake
  152. PRJ_GEN: 'MSYS Makefiles'
  153. PRJ_CFG: Debug
  154. SCHANNEL: 'ON'
  155. ENABLE_UNICODE: 'OFF'
  156. HTTP_ONLY: 'OFF'
  157. TESTING: 'ON'
  158. DISABLED_TESTS: '!1086 !1139 !1451 !1501'
  159. ADD_PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin'
  160. MSYS2_ARG_CONV_EXCL: '/*'
  161. BUILD_OPT: -k
  162. UNITY: 'ON'
  163. - job_name: 'CMake, mingw-w64, gcc 6, Debug x86, Schannel, Static'
  164. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  165. BUILD_SYSTEM: CMake
  166. PRJ_GEN: 'MSYS Makefiles'
  167. PRJ_CFG: Debug
  168. SCHANNEL: 'ON'
  169. ENABLE_UNICODE: 'OFF'
  170. HTTP_ONLY: 'OFF'
  171. TESTING: 'ON'
  172. DISABLED_TESTS: '!1086 !1139 !1451 !1501'
  173. ADD_PATH: 'C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin;C:\msys64\usr\bin'
  174. MSYS2_ARG_CONV_EXCL: '/*'
  175. BUILD_OPT: -k
  176. # winbuild-based builds
  177. - job_name: 'winbuild, VS2015, Debug, x64, Build-only'
  178. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  179. BUILD_SYSTEM: winbuild_vs2015
  180. DEBUG: 'yes'
  181. PATHPART: debug
  182. TESTING: 'OFF'
  183. ENABLE_UNICODE: 'no'
  184. - job_name: 'winbuild, VS2015, Release, x64, Build-only'
  185. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  186. BUILD_SYSTEM: winbuild_vs2015
  187. DEBUG: 'no'
  188. PATHPART: release
  189. TESTING: 'OFF'
  190. ENABLE_UNICODE: 'no'
  191. - job_name: 'winbuild, VS2017, Debug, x64, Build-only'
  192. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  193. BUILD_SYSTEM: winbuild_vs2017
  194. DEBUG: 'yes'
  195. PATHPART: debug
  196. TESTING: 'OFF'
  197. ENABLE_UNICODE: 'no'
  198. - job_name: 'winbuild, VS2017, Release, x64, Build-only'
  199. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  200. BUILD_SYSTEM: winbuild_vs2017
  201. DEBUG: 'no'
  202. PATHPART: release
  203. TESTING: 'OFF'
  204. ENABLE_UNICODE: 'no'
  205. - job_name: 'winbuild, VS2015, Debug, x64, Unicode, Build-only'
  206. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  207. BUILD_SYSTEM: winbuild_vs2015
  208. DEBUG: 'yes'
  209. PATHPART: debug
  210. TESTING: 'OFF'
  211. ENABLE_UNICODE: 'yes'
  212. - job_name: 'winbuild, VS2015, Release, x64, Unicode, Build-only'
  213. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
  214. BUILD_SYSTEM: winbuild_vs2015
  215. DEBUG: 'no'
  216. PATHPART: release
  217. TESTING: 'OFF'
  218. ENABLE_UNICODE: 'yes'
  219. - job_name: 'winbuild, VS2017, Debug, x64, Unicode, Build-only'
  220. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  221. BUILD_SYSTEM: winbuild_vs2017
  222. DEBUG: 'yes'
  223. PATHPART: debug
  224. TESTING: 'OFF'
  225. ENABLE_UNICODE: 'yes'
  226. - job_name: 'winbuild, VS2017, Release, x64, Unicode, Build-only'
  227. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  228. BUILD_SYSTEM: winbuild_vs2017
  229. DEBUG: 'no'
  230. PATHPART: release
  231. TESTING: 'OFF'
  232. ENABLE_UNICODE: 'yes'
  233. # generated VisualStudioSolution-based builds
  234. - job_name: 'VisualStudioSolution, VS2017, Debug, x86, Build-only'
  235. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  236. BUILD_SYSTEM: VisualStudioSolution
  237. PRJ_CFG: 'DLL Debug - DLL Windows SSPI - DLL WinIDN'
  238. TESTING: 'OFF'
  239. VC_VERSION: VC14.10
  240. # autotools-based builds (NOT mingw cross-compiling, but msys2 native)
  241. - job_name: 'autotools, msys2, Debug, x86_64, no Proxy, no SSL'
  242. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  243. BUILD_SYSTEM: autotools
  244. TESTING: 'ON'
  245. DISABLED_TESTS: '!19 !1233'
  246. ADD_PATH: 'C:\msys64\usr\bin'
  247. CONFIG_ARGS: '--enable-debug --enable-werror --disable-threaded-resolver --disable-proxy --without-ssl --enable-websockets'
  248. - job_name: 'autotools, msys2, Debug, x86_64, no SSL'
  249. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  250. BUILD_SYSTEM: autotools
  251. TESTING: 'ON'
  252. DISABLED_TESTS: '!19 !504 !704 !705 !1233'
  253. ADD_PATH: 'C:\msys64\usr\bin'
  254. CONFIG_ARGS: '--enable-debug --enable-werror --disable-threaded-resolver --without-ssl --enable-websockets'
  255. - job_name: 'autotools, msys2, Release, x86_64, no SSL'
  256. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
  257. BUILD_SYSTEM: autotools
  258. TESTING: 'ON'
  259. DISABLED_TESTS: '!19 !504 !704 !705 !1233'
  260. ADD_PATH: 'C:\msys64\usr\bin'
  261. CONFIG_ARGS: '--enable-warnings --enable-werror --without-ssl --enable-websockets'
  262. # autotools-based Cygwin build
  263. - job_name: 'autotools, cygwin, Debug, x86_64, no SSL'
  264. APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
  265. BUILD_SYSTEM: autotools
  266. TESTING: 'ON'
  267. DISABLED_TESTS: ''
  268. ADD_PATH: 'C:\cygwin64\bin'
  269. CONFIG_ARGS: '--enable-debug --enable-werror --disable-threaded-resolver --without-ssl --enable-websockets'
  270. POSIX_PATH_PREFIX: '/cygdrive'
  271. install:
  272. - ps: |
  273. if($env:ADD_PATH -ne $null) {
  274. $env:PATH = "$env:ADD_PATH;$env:PATH"
  275. }
  276. build_script:
  277. - ps: |
  278. function Pull-BatchFile-Env {
  279. param([string]$Path, [string]$Parameters)
  280. $tempFile = [IO.Path]::GetTempFileName()
  281. cmd.exe /c " `"$Path`" $Parameters && set " > $tempFile
  282. Get-Content $tempFile | ForEach-Object { if($_ -match '^(.*?)=(.*)$') { Set-Content "env:\$($matches[1])" $matches[2] } }
  283. Remove-Item $tempFile
  284. }
  285. $ErrorActionPreference = 'Stop'
  286. $openssl_root = 'C:\OpenSSL-v111-Win64'
  287. if($env:BUILD_SYSTEM -eq 'CMake') {
  288. $options = @('-DCURL_WERROR=ON')
  289. $options += "-G$env:PRJ_GEN"
  290. if($env:TARGET -ne $null) {
  291. $options += "$env:TARGET"
  292. if($env:TARGET.Contains('ARM64')) {
  293. $env:SKIP_RUN = 'ARM64 architecture'
  294. }
  295. }
  296. $options += "-DCURL_USE_OPENSSL=$env:OPENSSL"
  297. if($env:OPENSSL -eq 'ON') {
  298. $options += "-DOPENSSL_ROOT_DIR=$openssl_root"
  299. }
  300. $options += "-DCURL_USE_SCHANNEL=$env:SCHANNEL"
  301. $options += "-DHTTP_ONLY=$env:HTTP_ONLY"
  302. $options += "-DBUILD_SHARED_LIBS=$env:SHARED"
  303. $options += "-DBUILD_TESTING=$env:TESTING"
  304. $options += "-DENABLE_WEBSOCKETS=$env:WEBSOCKETS"
  305. $options += "-DCMAKE_UNITY_BUILD=$env:UNITY"
  306. $options += "-DENABLE_DEBUG=$env:DEBUG"
  307. $options += "-DENABLE_UNICODE=$env:ENABLE_UNICODE"
  308. $options += '-DCMAKE_INSTALL_PREFIX=C:/CURL'
  309. $options += "-DCMAKE_BUILD_TYPE=$env:PRJ_CFG"
  310. if($env:PRJ_CFG -eq 'Debug') {
  311. $options += '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG='
  312. }
  313. elseif ($env:PRJ_CFG -eq 'Release') {
  314. $options += '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE='
  315. }
  316. if($env:PRJ_GEN.Contains('Visual Studio')) {
  317. $options += '-DCMAKE_VS_GLOBALS=TrackFileAccess=false'
  318. }
  319. cmake --version
  320. Write-Host 'CMake options:' $options
  321. cmake . $options
  322. cmake --build . --config $env:PRJ_CFG --parallel 2 --clean-first -- $env:BUILD_OPT
  323. if($env:SHARED -eq 'ON') {
  324. Copy-Item -Path 'C:\Projects\curl\lib\*.dll' -Destination 'C:\projects\curl\src'
  325. Copy-Item -Path 'C:\Projects\curl\lib\*.dll' -Destination 'C:\projects\curl\tests\libtest'
  326. }
  327. if($env:OPENSSL -eq 'ON') {
  328. Copy-Item -Path "$openssl_root\*.dll" -Destination 'C:\projects\curl\src'
  329. }
  330. $curl = '.\src\curl.exe'
  331. }
  332. elseif($env:BUILD_SYSTEM -eq 'VisualStudioSolution') {
  333. cd projects
  334. .\generate.bat $env:VC_VERSION
  335. msbuild.exe -maxcpucount "-property:Configuration=$env:PRJ_CFG" "Windows\$env:VC_VERSION\curl-all.sln"
  336. $curl = "..\build\Win32\$env:VC_VERSION\$env:PRJ_CFG\curld.exe"
  337. }
  338. elseif($env:BUILD_SYSTEM -eq 'winbuild_vs2015') {
  339. .\buildconf.bat
  340. cd winbuild
  341. Pull-BatchFile-Env 'C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd' /x64
  342. Pull-BatchFile-Env 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat' x86_amd64
  343. nmake /nologo /f Makefile.vc mode=dll VC=14 "SSL_PATH=$openssl_root" WITH_SSL=dll MACHINE=x64 DEBUG=$env:DEBUG ENABLE_UNICODE=$env:ENABLE_UNICODE
  344. $curl = "..\builds\libcurl-vc14-x64-$env:PATHPART-dll-ssl-dll-ipv6-sspi\bin\curl.exe"
  345. }
  346. elseif($env:BUILD_SYSTEM -eq 'winbuild_vs2017') {
  347. .\buildconf.bat
  348. cd winbuild
  349. Pull-BatchFile-Env 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat'
  350. nmake /nologo /f Makefile.vc mode=dll VC=14.10 "SSL_PATH=$openssl_root" WITH_SSL=dll MACHINE=x64 DEBUG=$env:DEBUG ENABLE_UNICODE=$env:ENABLE_UNICODE
  351. $curl = "..\builds\libcurl-vc14.10-x64-$env:PATHPART-dll-ssl-dll-ipv6-sspi\bin\curl.exe"
  352. }
  353. elseif($env:BUILD_SYSTEM -eq 'autotools') {
  354. & bash -e -c "cd $env:POSIX_PATH_PREFIX/c/projects/curl && autoreconf -fi 2>&1 && ./configure $env:CONFIG_ARGS 2>&1 && make V=1 && make V=1 examples && cd tests && make V=1"
  355. $curl = '.\src\curl.exe'
  356. }
  357. Get-ChildItem -Path C:\projects\curl -Include ('*.exe', '*.dll') -Recurse -Name
  358. if($env:SKIP_RUN -eq $null) {
  359. cmd.exe /c "`"$curl`" -V 2>&1"
  360. if(-not $?) {
  361. Write-Host "Error running curl: '$curl':" ("0x" + $LastExitCode.ToString("X"))
  362. exit 1
  363. }
  364. }
  365. else {
  366. Write-Host "Skip running curl.exe. Reason: $env:SKIP_RUN"
  367. }
  368. if($false) {
  369. if(Test-Path CMakeFiles/CMakeConfigureLog.yaml) { cat CMakeFiles/CMakeConfigureLog.yaml }
  370. if(Test-Path CMakeFiles/CMakeOutput.log) { cat CMakeFiles/CMakeOutput.log }
  371. if(Test-Path CMakeFiles/CMakeError.log) { cat CMakeFiles/CMakeError.log }
  372. if(Test-Path config.log) { cat config.log }
  373. }
  374. if($env:TESTING -eq 'ON' -and $env:BUILD_SYSTEM -eq 'CMake') {
  375. cmake --build . --config $env:PRJ_CFG --parallel 2 --target testdeps
  376. }
  377. test_script:
  378. - ps: |
  379. if(Test-Path 'C:/msys64/usr/bin/curl.exe') {
  380. $acurl="-ac $env:POSIX_PATH_PREFIX/c/msys64/usr/bin/curl.exe"
  381. }
  382. if(Test-Path 'C:/Windows/System32/curl.exe') {
  383. $acurl="-ac $env:POSIX_PATH_PREFIX/c/Windows/System32/curl.exe"
  384. }
  385. if($env:TESTING -eq 'ON') {
  386. if($env:BUILD_SYSTEM -eq 'CMake') {
  387. $env:TFLAGS="$acurl $env:DISABLED_TESTS"
  388. cmake --build . --config $env:PRJ_CFG --target test-ci
  389. }
  390. elseif($env:BUILD_SYSTEM -eq 'autotools') {
  391. & bash -e -c "cd $env:POSIX_PATH_PREFIX/c/projects/curl && make V=1 TFLAGS='$acurl $env:DISABLED_TESTS' test-ci"
  392. }
  393. else {
  394. & bash -e -c "cd $env:POSIX_PATH_PREFIX/c/projects/curl/tests && ./runtests.pl -a -p !flaky -r -rm $acurl $env:DISABLED_TESTS"
  395. }
  396. }
  397. clone_depth: 10
  398. # select branches to avoid testing feature branches twice (as branch and as pull request)
  399. branches:
  400. only:
  401. - master
  402. - /\/ci$/
  403. skip_commits:
  404. files:
  405. - '.azure-pipelines.yml'
  406. - '.circleci/**/*'
  407. - '.cirrus.yml'
  408. - '.github/**/*'
  409. - 'packages/**/*'
  410. - 'plan9/**/*'
  411. artifacts:
  412. - path: '**/curl.exe'
  413. name: curl
  414. - path: '**/*curl*.dll'
  415. name: libcurl dll