2020-03-23 21:44:29 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
2022-03-05 16:41:24 +08:00
|
|
|
# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2020-03-23 21:44:29 +08:00
|
|
|
#
|
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
2020-11-04 21:02:01 +08:00
|
|
|
# are also available at https://curl.se/docs/copyright.html.
|
2020-03-23 21:44:29 +08:00
|
|
|
#
|
|
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
|
|
#
|
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
|
|
|
#
|
|
|
|
###########################################################################
|
|
|
|
|
2016-06-22 20:42:10 +08:00
|
|
|
version: 7.50.0.{build}
|
2015-09-17 21:34:47 +08:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2020-03-07 04:02:18 +08:00
|
|
|
# generated CMake-based Visual Studio Release builds
|
2019-02-24 05:33:32 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2019-02-24 05:33:32 +08:00
|
|
|
PRJ_GEN: "Visual Studio 9 2008"
|
2018-10-05 19:02:34 +08:00
|
|
|
PRJ_CFG: Release
|
2018-10-05 19:09:24 +08:00
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: ON
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2018-10-05 19:12:13 +08:00
|
|
|
HTTP_ONLY: OFF
|
2016-06-22 20:42:10 +08:00
|
|
|
TESTING: OFF
|
2018-07-10 17:54:34 +08:00
|
|
|
SHARED: ON
|
2018-10-11 04:22:06 +08:00
|
|
|
DISABLED_TESTS: ""
|
2022-01-10 20:57:44 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2022-01-10 20:57:44 +08:00
|
|
|
PRJ_GEN: "Visual Studio 17 2022"
|
2019-09-19 22:34:06 +08:00
|
|
|
TARGET: "-A x64"
|
2020-03-07 04:02:18 +08:00
|
|
|
PRJ_CFG: Release
|
|
|
|
OPENSSL: ON
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: OFF
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2018-10-05 19:12:13 +08:00
|
|
|
HTTP_ONLY: OFF
|
2020-03-07 04:02:18 +08:00
|
|
|
TESTING: OFF
|
|
|
|
SHARED: ON
|
|
|
|
DISABLED_TESTS: ""
|
2022-01-10 20:57:44 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2022-01-10 20:57:44 +08:00
|
|
|
PRJ_GEN: "Visual Studio 17 2022"
|
2020-03-07 04:02:18 +08:00
|
|
|
TARGET: "-A ARM64"
|
2016-01-28 20:57:28 +08:00
|
|
|
PRJ_CFG: Release
|
2020-03-07 04:02:18 +08:00
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: ON
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2018-10-05 19:12:13 +08:00
|
|
|
HTTP_ONLY: OFF
|
2016-06-22 20:42:10 +08:00
|
|
|
TESTING: OFF
|
2020-03-07 04:02:18 +08:00
|
|
|
SHARED: OFF
|
2018-10-11 04:22:06 +08:00
|
|
|
DISABLED_TESTS: ""
|
2020-03-07 04:02:18 +08:00
|
|
|
# generated CMake-based Visual Studio Debug builds
|
2019-02-24 05:33:32 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2019-02-24 05:33:32 +08:00
|
|
|
PRJ_GEN: "Visual Studio 10 2010 Win64"
|
2018-10-05 19:14:23 +08:00
|
|
|
PRJ_CFG: Debug
|
2016-06-22 20:42:10 +08:00
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: OFF
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2018-10-05 19:12:13 +08:00
|
|
|
HTTP_ONLY: OFF
|
2016-06-22 20:42:10 +08:00
|
|
|
TESTING: ON
|
2018-07-10 17:54:34 +08:00
|
|
|
SHARED: OFF
|
2020-05-07 12:51:22 +08:00
|
|
|
DISABLED_TESTS: "!1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2022-01-10 20:57:44 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
2020-03-07 04:02:18 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2022-01-10 20:57:44 +08:00
|
|
|
PRJ_GEN: "Visual Studio 17 2022"
|
2020-03-07 04:02:18 +08:00
|
|
|
TARGET: "-A x64"
|
|
|
|
PRJ_CFG: Debug
|
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: ON
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: ON
|
2020-03-07 04:02:18 +08:00
|
|
|
HTTP_ONLY: OFF
|
|
|
|
TESTING: ON
|
|
|
|
SHARED: OFF
|
2020-10-23 01:36:24 +08:00
|
|
|
DISABLED_TESTS: "~571 !1139 !1501 "
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2022-01-10 20:57:44 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2022-01-10 20:57:44 +08:00
|
|
|
PRJ_GEN: "Visual Studio 17 2022"
|
2019-09-19 22:34:06 +08:00
|
|
|
TARGET: "-A x64"
|
2018-10-05 19:14:23 +08:00
|
|
|
PRJ_CFG: Debug
|
2017-10-28 05:40:04 +08:00
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: OFF
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2018-10-05 19:12:13 +08:00
|
|
|
HTTP_ONLY: OFF
|
|
|
|
TESTING: ON
|
|
|
|
SHARED: OFF
|
2020-10-23 01:36:24 +08:00
|
|
|
DISABLED_TESTS: "~571 !1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2022-01-10 20:57:44 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2022-01-10 20:57:44 +08:00
|
|
|
PRJ_GEN: "Visual Studio 17 2022"
|
2019-09-19 22:34:06 +08:00
|
|
|
TARGET: "-A x64"
|
2018-10-05 19:14:23 +08:00
|
|
|
PRJ_CFG: Debug
|
2018-10-05 19:12:13 +08:00
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: OFF
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2018-10-05 19:12:13 +08:00
|
|
|
HTTP_ONLY: ON
|
2017-10-28 05:40:04 +08:00
|
|
|
TESTING: ON
|
2018-07-10 17:54:34 +08:00
|
|
|
SHARED: OFF
|
2020-05-07 12:51:22 +08:00
|
|
|
DISABLED_TESTS: "!1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2020-05-10 00:04:38 +08:00
|
|
|
# generated CMake-based MSYS Makefiles builds (mingw cross-compiling)
|
2018-10-11 04:22:06 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2018-10-11 04:22:06 +08:00
|
|
|
PRJ_GEN: "MSYS Makefiles"
|
|
|
|
PRJ_CFG: Debug
|
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: ON
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: ON
|
2018-10-11 04:22:06 +08:00
|
|
|
HTTP_ONLY: OFF
|
|
|
|
TESTING: ON
|
|
|
|
SHARED: OFF
|
2020-05-07 12:51:22 +08:00
|
|
|
DISABLED_TESTS: "!1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin;C:\\msys64\\usr\\bin"
|
2018-10-11 04:22:06 +08:00
|
|
|
MSYS2_ARG_CONV_EXCL: "/*"
|
2019-07-31 23:17:52 +08:00
|
|
|
BUILD_OPT: -k
|
2020-03-07 04:02:18 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
|
|
|
BUILD_SYSTEM: CMake
|
|
|
|
PRJ_GEN: "MSYS Makefiles"
|
|
|
|
PRJ_CFG: Debug
|
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: ON
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: ON
|
2020-03-07 04:02:18 +08:00
|
|
|
HTTP_ONLY: OFF
|
|
|
|
TESTING: ON
|
|
|
|
SHARED: OFF
|
2020-05-07 12:51:22 +08:00
|
|
|
DISABLED_TESTS: "!1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\mingw-w64\\x86_64-7.2.0-posix-seh-rt_v5-rev1\\mingw64\\bin;C:\\msys64\\usr\\bin"
|
2020-03-07 04:02:18 +08:00
|
|
|
MSYS2_ARG_CONV_EXCL: "/*"
|
|
|
|
BUILD_OPT: -k
|
2019-09-25 01:26:51 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
BUILD_SYSTEM: CMake
|
|
|
|
PRJ_GEN: "MSYS Makefiles"
|
|
|
|
PRJ_CFG: Debug
|
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: ON
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2019-09-25 01:26:51 +08:00
|
|
|
HTTP_ONLY: OFF
|
|
|
|
TESTING: ON
|
|
|
|
SHARED: OFF
|
2020-05-07 12:51:22 +08:00
|
|
|
DISABLED_TESTS: "!1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\mingw-w64\\i686-6.3.0-posix-dwarf-rt_v5-rev1\\mingw32\\bin;C:\\msys64\\usr\\bin"
|
2019-09-25 01:26:51 +08:00
|
|
|
MSYS2_ARG_CONV_EXCL: "/*"
|
|
|
|
BUILD_OPT: -k
|
2022-01-10 20:57:44 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
2019-05-25 14:38:17 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2019-02-27 00:38:14 +08:00
|
|
|
PRJ_GEN: "MSYS Makefiles"
|
|
|
|
PRJ_CFG: Debug
|
|
|
|
OPENSSL: OFF
|
2020-08-07 23:11:52 +08:00
|
|
|
SCHANNEL: OFF
|
2020-08-22 16:16:13 +08:00
|
|
|
ENABLE_UNICODE: OFF
|
2019-02-27 00:38:14 +08:00
|
|
|
HTTP_ONLY: OFF
|
|
|
|
TESTING: ON
|
|
|
|
SHARED: OFF
|
2020-05-07 12:51:22 +08:00
|
|
|
DISABLED_TESTS: "!1139 !1501"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\MinGW\\bin;C:\\msys64\\usr\\bin"
|
2019-02-27 00:38:14 +08:00
|
|
|
MSYS2_ARG_CONV_EXCL: "/*"
|
2019-07-31 23:17:52 +08:00
|
|
|
BUILD_OPT: -k
|
2020-03-07 04:02:18 +08:00
|
|
|
# winbuild-based builds
|
2019-09-11 19:57:32 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
2019-10-24 22:23:45 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
|
|
|
DEBUG: yes
|
|
|
|
PATHPART: debug
|
|
|
|
TESTING: OFF
|
2020-01-03 08:59:58 +08:00
|
|
|
ENABLE_UNICODE: no
|
2019-10-24 22:23:45 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
|
|
|
DEBUG: no
|
|
|
|
PATHPART: release
|
2019-09-11 19:57:32 +08:00
|
|
|
TESTING: OFF
|
2020-01-03 08:59:58 +08:00
|
|
|
ENABLE_UNICODE: no
|
2019-10-12 22:33:30 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
2019-10-24 22:23:45 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
|
|
|
DEBUG: yes
|
|
|
|
PATHPART: debug
|
|
|
|
TESTING: OFF
|
2020-01-03 08:59:58 +08:00
|
|
|
ENABLE_UNICODE: no
|
2019-10-24 22:23:45 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
|
|
|
DEBUG: no
|
|
|
|
PATHPART: release
|
2019-10-12 22:33:30 +08:00
|
|
|
TESTING: OFF
|
2020-01-03 08:59:58 +08:00
|
|
|
ENABLE_UNICODE: no
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
|
|
|
DEBUG: yes
|
|
|
|
PATHPART: debug
|
|
|
|
TESTING: OFF
|
|
|
|
ENABLE_UNICODE: yes
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
|
|
|
DEBUG: no
|
|
|
|
PATHPART: release
|
|
|
|
TESTING: OFF
|
|
|
|
ENABLE_UNICODE: yes
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
|
|
|
DEBUG: yes
|
|
|
|
PATHPART: debug
|
|
|
|
TESTING: OFF
|
|
|
|
ENABLE_UNICODE: yes
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
|
|
|
DEBUG: no
|
|
|
|
PATHPART: release
|
|
|
|
TESTING: OFF
|
|
|
|
ENABLE_UNICODE: yes
|
2020-03-07 04:02:18 +08:00
|
|
|
# generated VisualStudioSolution-based builds
|
2019-05-25 14:55:09 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
|
|
|
BUILD_SYSTEM: VisualStudioSolution
|
|
|
|
PRJ_CFG: "DLL Debug - DLL Windows SSPI - DLL WinIDN"
|
|
|
|
TESTING: OFF
|
2022-02-14 05:58:04 +08:00
|
|
|
VC_VERSION: VC14.10
|
2020-05-10 00:04:38 +08:00
|
|
|
# autotools-based builds (NOT mingw cross-compiling, but msys2 native)
|
2022-01-10 21:28:41 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
2019-10-12 19:27:51 +08:00
|
|
|
BUILD_SYSTEM: autotools
|
|
|
|
TESTING: ON
|
2020-05-11 00:40:24 +08:00
|
|
|
DISABLED_TESTS: "!19 ~1056 !1233"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2021-04-15 15:21:40 +08:00
|
|
|
CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --disable-proxy --with-schannel"
|
2022-01-10 21:28:41 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
2020-03-07 04:02:18 +08:00
|
|
|
BUILD_SYSTEM: autotools
|
|
|
|
TESTING: ON
|
2020-05-11 00:40:24 +08:00
|
|
|
DISABLED_TESTS: "!19 !504 !704 !705 ~1056 !1233"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2021-04-15 15:21:40 +08:00
|
|
|
CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --with-schannel"
|
2022-01-10 21:28:41 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
2020-05-30 15:46:04 +08:00
|
|
|
BUILD_SYSTEM: autotools
|
|
|
|
TESTING: ON
|
|
|
|
DISABLED_TESTS: "!19 !504 !704 !705 ~1056 !1233"
|
2019-03-02 18:53:33 +08:00
|
|
|
ADD_PATH: "C:\\msys64\\usr\\bin"
|
2021-04-15 15:21:40 +08:00
|
|
|
CONFIG_ARGS: "--enable-warnings --enable-werror --with-schannel"
|
2022-04-09 16:26:37 +08:00
|
|
|
# autotools-based Cygwin build
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
|
|
|
|
BUILD_SYSTEM: autotools
|
|
|
|
TESTING: ON
|
|
|
|
DISABLED_TESTS: "~1056"
|
|
|
|
ADD_PATH: "C:\\cygwin64\\bin"
|
|
|
|
CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --without-ssl"
|
|
|
|
POSIX_PATH_PREFIX: "/cygdrive"
|
2018-10-11 04:22:06 +08:00
|
|
|
|
|
|
|
install:
|
2019-03-02 18:53:33 +08:00
|
|
|
- if not "%ADD_PATH%"=="" (
|
|
|
|
set "PATH=%ADD_PATH%;%PATH%" )
|
2015-09-17 21:34:47 +08:00
|
|
|
|
|
|
|
build_script:
|
2019-05-25 14:38:17 +08:00
|
|
|
- if %BUILD_SYSTEM%==CMake (
|
|
|
|
cmake .
|
|
|
|
-G"%PRJ_GEN%"
|
2019-09-19 22:34:06 +08:00
|
|
|
%TARGET%
|
2021-11-23 00:39:46 +08:00
|
|
|
-DCURL_USE_OPENSSL=%OPENSSL%
|
|
|
|
-DCURL_USE_SCHANNEL=%SCHANNEL%
|
2019-05-25 14:38:17 +08:00
|
|
|
-DHTTP_ONLY=%HTTP_ONLY%
|
|
|
|
-DBUILD_SHARED_LIBS=%SHARED%
|
|
|
|
-DBUILD_TESTING=%TESTING%
|
|
|
|
-DCURL_WERROR=ON
|
|
|
|
-DENABLE_DEBUG=ON
|
2020-08-22 16:16:13 +08:00
|
|
|
-DENABLE_UNICODE=%ENABLE_UNICODE%
|
2019-05-25 14:38:17 +08:00
|
|
|
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=""
|
|
|
|
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=""
|
|
|
|
-DCMAKE_INSTALL_PREFIX="C:/CURL"
|
|
|
|
-DCMAKE_BUILD_TYPE=%PRJ_CFG% &&
|
2019-10-12 19:27:51 +08:00
|
|
|
cmake --build . --config %PRJ_CFG% --parallel 2 --clean-first -- %BUILD_OPT%
|
|
|
|
) else (
|
2019-05-25 14:55:09 +08:00
|
|
|
if %BUILD_SYSTEM%==VisualStudioSolution (
|
|
|
|
cd projects &&
|
|
|
|
.\\generate.bat %VC_VERSION% &&
|
2019-10-12 19:27:51 +08:00
|
|
|
msbuild.exe /p:Configuration="%PRJ_CFG%" "Windows\\%VC_VERSION%\\curl-all.sln"
|
|
|
|
) else (
|
2019-10-24 22:23:45 +08:00
|
|
|
if %BUILD_SYSTEM%==winbuild_vs2015 (
|
2019-09-11 19:57:32 +08:00
|
|
|
call buildconf.bat &&
|
|
|
|
cd winbuild &&
|
|
|
|
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 &&
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 &&
|
2020-01-03 08:59:58 +08:00
|
|
|
nmake /f Makefile.vc mode=dll VC=14 "SSL_PATH=C:\OpenSSL-v111-Win64" WITH_SSL=dll MACHINE=x64 DEBUG=%DEBUG% ENABLE_UNICODE=%ENABLE_UNICODE% &&
|
2019-10-24 22:23:45 +08:00
|
|
|
..\builds\libcurl-vc14-x64-%PATHPART%-dll-ssl-dll-ipv6-sspi\bin\curl.exe -V
|
2019-10-12 22:33:30 +08:00
|
|
|
) else (
|
2019-10-24 22:23:45 +08:00
|
|
|
if %BUILD_SYSTEM%==winbuild_vs2017 (
|
2019-10-12 22:33:30 +08:00
|
|
|
call buildconf.bat &&
|
|
|
|
cd winbuild &&
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" &&
|
2022-02-14 05:58:04 +08:00
|
|
|
nmake /f Makefile.vc mode=dll VC=14.10 "SSL_PATH=C:\OpenSSL-v111-Win64" WITH_SSL=dll MACHINE=x64 DEBUG=%DEBUG% ENABLE_UNICODE=%ENABLE_UNICODE% &&
|
|
|
|
..\builds\libcurl-vc14.10-x64-%PATHPART%-dll-ssl-dll-ipv6-sspi\bin\curl.exe -V
|
2019-10-12 19:27:51 +08:00
|
|
|
) else (
|
|
|
|
if %BUILD_SYSTEM%==autotools (
|
2022-04-09 16:26:37 +08:00
|
|
|
bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl && autoreconf -fi && ./configure %CONFIG_ARGS% && make V=1 && make V=1 examples && cd tests && make V=1"
|
2019-10-12 19:27:51 +08:00
|
|
|
)))))
|
2020-10-13 03:44:37 +08:00
|
|
|
- if %TESTING%==ON (
|
|
|
|
if %BUILD_SYSTEM%==CMake (
|
|
|
|
cmake --build . --config %PRJ_CFG% --parallel 2 --target testdeps
|
|
|
|
))
|
2017-06-21 05:00:49 +08:00
|
|
|
|
2018-10-02 23:47:39 +08:00
|
|
|
test_script:
|
|
|
|
- if %TESTING%==ON (
|
2020-10-13 03:44:37 +08:00
|
|
|
if %BUILD_SYSTEM%==CMake (
|
2021-09-28 03:17:29 +08:00
|
|
|
set TFLAGS=%DISABLED_TESTS% &&
|
|
|
|
cmake --build . --config %PRJ_CFG% --target test-ci
|
2020-10-13 03:44:37 +08:00
|
|
|
) else (
|
2021-09-28 02:59:29 +08:00
|
|
|
if %BUILD_SYSTEM%==autotools (
|
2022-04-09 16:26:37 +08:00
|
|
|
bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl && make V=1 TFLAGS='%DISABLED_TESTS%' test-ci"
|
2021-09-28 02:59:29 +08:00
|
|
|
) else (
|
2022-04-09 16:26:37 +08:00
|
|
|
bash.exe -e -l -c "cd %POSIX_PATH_PREFIX%/c/projects/curl/tests && ./runtests.pl -a -p !flaky -r -rm %DISABLED_TESTS%"
|
2021-09-28 02:59:29 +08:00
|
|
|
))
|
|
|
|
)
|
2018-10-02 23:47:39 +08:00
|
|
|
|
2020-06-09 22:08:11 +08:00
|
|
|
# select branches to avoid testing feature branches twice (as branch and as pull request)
|
2017-06-21 05:00:49 +08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2019-05-10 21:52:57 +08:00
|
|
|
- /\/ci$/
|
2019-10-20 02:37:06 +08:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: '**/curl.exe'
|
|
|
|
name: curl
|
2020-07-13 04:04:00 +08:00
|
|
|
- path: '**/*curl*.dll'
|
2019-10-20 02:37:06 +08:00
|
|
|
name: libcurl
|