2020-03-23 21:44:29 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
2023-01-02 20:51:48 +08:00
|
|
|
# Copyright (C) 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.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: curl
|
2022-05-17 17:16:50 +08:00
|
|
|
#
|
2020-03-23 21:44:29 +08:00
|
|
|
###########################################################################
|
2023-10-30 02:15:11 +08:00
|
|
|
|
2023-03-11 08:58:21 +08:00
|
|
|
# https://ci.appveyor.com/project/curlorg/curl/history
|
2023-10-30 02:15:11 +08:00
|
|
|
# AppVeyor configuration:
|
|
|
|
# https://www.appveyor.com/docs/appveyor-yml/
|
|
|
|
# AppVeyor worker images:
|
|
|
|
# https://www.appveyor.com/docs/windows-images-software/
|
2020-03-23 21:44:29 +08:00
|
|
|
|
2016-06-22 20:42:10 +08:00
|
|
|
version: 7.50.0.{build}
|
2015-09-17 21:34:47 +08:00
|
|
|
|
|
|
|
environment:
|
2024-03-28 17:07:35 +08:00
|
|
|
UNITY: 'ON'
|
2023-10-02 01:32:59 +08:00
|
|
|
OPENSSL: 'OFF'
|
|
|
|
DEBUG: 'ON'
|
|
|
|
SHARED: 'OFF'
|
2023-09-30 02:47:08 +08:00
|
|
|
matrix:
|
|
|
|
# generated CMake-based Visual Studio Release builds
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'CMake, VS2008, Release, x86, Schannel, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 9 2008'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Release
|
2023-10-02 01:32:59 +08:00
|
|
|
SCHANNEL: 'ON'
|
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'OFF'
|
|
|
|
SHARED: 'ON'
|
2024-05-15 14:19:54 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
DISABLED_TESTS: ''
|
|
|
|
- job_name: 'CMake, VS2008, Debug, x86, Schannel, Build-only'
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
|
|
|
BUILD_SYSTEM: CMake
|
|
|
|
PRJ_GEN: 'Visual Studio 9 2008'
|
|
|
|
PRJ_CFG: Debug
|
|
|
|
SCHANNEL: 'ON'
|
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'OFF'
|
|
|
|
SHARED: 'ON'
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
DISABLED_TESTS: ''
|
2024-04-10 00:21:55 +08:00
|
|
|
- job_name: 'CMake, VS2022, Release, x64, OpenSSL 3.2, WebSockets, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 17 2022'
|
|
|
|
TARGET: '-A x64'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Release
|
2023-10-02 01:32:59 +08:00
|
|
|
OPENSSL: 'ON'
|
|
|
|
SCHANNEL: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'OFF'
|
|
|
|
SHARED: 'ON'
|
|
|
|
TESTING: 'OFF'
|
|
|
|
DISABLED_TESTS: ''
|
|
|
|
WEBSOCKETS: 'ON'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'CMake, VS2022, Release, arm64, Schannel, Static, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 17 2022'
|
|
|
|
TARGET: '-A ARM64'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Release
|
2023-10-02 01:32:59 +08:00
|
|
|
SCHANNEL: 'ON'
|
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'OFF'
|
|
|
|
TESTING: 'OFF'
|
|
|
|
DISABLED_TESTS: ''
|
2023-09-30 02:47:08 +08:00
|
|
|
# generated CMake-based Visual Studio Debug builds
|
2024-04-10 03:08:18 +08:00
|
|
|
- job_name: 'CMake, VS2010, Debug, x64, Schannel, Static, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 10 2010 Win64'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Debug
|
2024-04-10 03:08:18 +08:00
|
|
|
SCHANNEL: 'ON'
|
2023-10-02 01:32:59 +08:00
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'OFF'
|
2024-04-10 03:08:18 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
DISABLED_TESTS: ''
|
GHA: add three MSVC jobs
Continuing the theme, add 3 MSVC jobs with tests, matching
configurations used on AppVeyor. MSVC versions are identical:
19.39.33523.0 + Windows SDK 10.0.22621.0.
Also enable websockets, and build examples. Tests are run in parallel
(`-j14`), with improved performance.
Job performance:
```
AppVeyor GHA
w/examples
-------- ----------
CMake, VS2022, Debug, x64, Schannel, Static, Unicode 38m 4s 11m57s
CMake, VS2022, Debug, x64, no SSL, Static 35m15s 12m 6s
CMake, VS2022, Debug, x64, no SSL, Static, HTTP only 25m25s 10m36s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49884748
https://github.com/curl/curl/actions/runs/9229448468
This is the first time examples are built in CI with MSVC: Fix all
warnings and errors that came up via
d4b85890555388bec212b75f47a5c1a48705b156 #13771.
Closes #13766
2024-05-24 23:53:27 +08:00
|
|
|
- job_name: 'CMake, VS2022, Debug, x64, Schannel, Static, Unicode, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 17 2022'
|
|
|
|
TARGET: '-A x64'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Debug
|
2023-10-02 01:32:59 +08:00
|
|
|
SCHANNEL: 'ON'
|
|
|
|
ENABLE_UNICODE: 'ON'
|
|
|
|
HTTP_ONLY: 'OFF'
|
GHA: add three MSVC jobs
Continuing the theme, add 3 MSVC jobs with tests, matching
configurations used on AppVeyor. MSVC versions are identical:
19.39.33523.0 + Windows SDK 10.0.22621.0.
Also enable websockets, and build examples. Tests are run in parallel
(`-j14`), with improved performance.
Job performance:
```
AppVeyor GHA
w/examples
-------- ----------
CMake, VS2022, Debug, x64, Schannel, Static, Unicode 38m 4s 11m57s
CMake, VS2022, Debug, x64, no SSL, Static 35m15s 12m 6s
CMake, VS2022, Debug, x64, no SSL, Static, HTTP only 25m25s 10m36s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49884748
https://github.com/curl/curl/actions/runs/9229448468
This is the first time examples are built in CI with MSVC: Fix all
warnings and errors that came up via
d4b85890555388bec212b75f47a5c1a48705b156 #13771.
Closes #13766
2024-05-24 23:53:27 +08:00
|
|
|
TESTING: 'OFF'
|
2024-03-27 17:56:24 +08:00
|
|
|
DISABLED_TESTS: '!1139 !1501 !1177 !1477'
|
GHA: add three MSVC jobs
Continuing the theme, add 3 MSVC jobs with tests, matching
configurations used on AppVeyor. MSVC versions are identical:
19.39.33523.0 + Windows SDK 10.0.22621.0.
Also enable websockets, and build examples. Tests are run in parallel
(`-j14`), with improved performance.
Job performance:
```
AppVeyor GHA
w/examples
-------- ----------
CMake, VS2022, Debug, x64, Schannel, Static, Unicode 38m 4s 11m57s
CMake, VS2022, Debug, x64, no SSL, Static 35m15s 12m 6s
CMake, VS2022, Debug, x64, no SSL, Static, HTTP only 25m25s 10m36s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49884748
https://github.com/curl/curl/actions/runs/9229448468
This is the first time examples are built in CI with MSVC: Fix all
warnings and errors that came up via
d4b85890555388bec212b75f47a5c1a48705b156 #13771.
Closes #13766
2024-05-24 23:53:27 +08:00
|
|
|
- job_name: 'CMake, VS2022, Debug, x64, no SSL, Static, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 17 2022'
|
|
|
|
TARGET: '-A x64'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Debug
|
2023-10-02 01:32:59 +08:00
|
|
|
SCHANNEL: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'OFF'
|
GHA: add three MSVC jobs
Continuing the theme, add 3 MSVC jobs with tests, matching
configurations used on AppVeyor. MSVC versions are identical:
19.39.33523.0 + Windows SDK 10.0.22621.0.
Also enable websockets, and build examples. Tests are run in parallel
(`-j14`), with improved performance.
Job performance:
```
AppVeyor GHA
w/examples
-------- ----------
CMake, VS2022, Debug, x64, Schannel, Static, Unicode 38m 4s 11m57s
CMake, VS2022, Debug, x64, no SSL, Static 35m15s 12m 6s
CMake, VS2022, Debug, x64, no SSL, Static, HTTP only 25m25s 10m36s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49884748
https://github.com/curl/curl/actions/runs/9229448468
This is the first time examples are built in CI with MSVC: Fix all
warnings and errors that came up via
d4b85890555388bec212b75f47a5c1a48705b156 #13771.
Closes #13766
2024-05-24 23:53:27 +08:00
|
|
|
TESTING: 'OFF'
|
2024-03-27 17:56:24 +08:00
|
|
|
DISABLED_TESTS: '!1139 !1501 !1177 !1477'
|
GHA: add three MSVC jobs
Continuing the theme, add 3 MSVC jobs with tests, matching
configurations used on AppVeyor. MSVC versions are identical:
19.39.33523.0 + Windows SDK 10.0.22621.0.
Also enable websockets, and build examples. Tests are run in parallel
(`-j14`), with improved performance.
Job performance:
```
AppVeyor GHA
w/examples
-------- ----------
CMake, VS2022, Debug, x64, Schannel, Static, Unicode 38m 4s 11m57s
CMake, VS2022, Debug, x64, no SSL, Static 35m15s 12m 6s
CMake, VS2022, Debug, x64, no SSL, Static, HTTP only 25m25s 10m36s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49884748
https://github.com/curl/curl/actions/runs/9229448468
This is the first time examples are built in CI with MSVC: Fix all
warnings and errors that came up via
d4b85890555388bec212b75f47a5c1a48705b156 #13771.
Closes #13766
2024-05-24 23:53:27 +08:00
|
|
|
- job_name: 'CMake, VS2022, Debug, x64, no SSL, Static, HTTP only, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: CMake
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_GEN: 'Visual Studio 17 2022'
|
|
|
|
TARGET: '-A x64'
|
2023-09-30 02:47:08 +08:00
|
|
|
PRJ_CFG: Debug
|
2023-10-02 01:32:59 +08:00
|
|
|
SCHANNEL: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'OFF'
|
|
|
|
HTTP_ONLY: 'ON'
|
GHA: add three MSVC jobs
Continuing the theme, add 3 MSVC jobs with tests, matching
configurations used on AppVeyor. MSVC versions are identical:
19.39.33523.0 + Windows SDK 10.0.22621.0.
Also enable websockets, and build examples. Tests are run in parallel
(`-j14`), with improved performance.
Job performance:
```
AppVeyor GHA
w/examples
-------- ----------
CMake, VS2022, Debug, x64, Schannel, Static, Unicode 38m 4s 11m57s
CMake, VS2022, Debug, x64, no SSL, Static 35m15s 12m 6s
CMake, VS2022, Debug, x64, no SSL, Static, HTTP only 25m25s 10m36s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49884748
https://github.com/curl/curl/actions/runs/9229448468
This is the first time examples are built in CI with MSVC: Fix all
warnings and errors that came up via
d4b85890555388bec212b75f47a5c1a48705b156 #13771.
Closes #13766
2024-05-24 23:53:27 +08:00
|
|
|
TESTING: 'OFF'
|
2024-03-27 17:56:24 +08:00
|
|
|
DISABLED_TESTS: '!1139 !1501 !1177 !1477'
|
2024-05-11 21:34:12 +08:00
|
|
|
|
2023-09-30 02:47:08 +08:00
|
|
|
# winbuild-based builds
|
2024-05-11 21:34:12 +08:00
|
|
|
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2015, Debug, x64, OpenSSL 1.1.1, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'yes'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: debug
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'no'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2015, Release, x64, OpenSSL 1.1.1, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'no'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: release
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'no'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2017, Debug, x64, OpenSSL 1.1.1, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'yes'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: debug
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'no'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2017, Release, x64, OpenSSL 1.1.1, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'no'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: release
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'no'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2015, Debug, x64, OpenSSL 1.1.1, Unicode, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'yes'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: debug
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'yes'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2015, Release, x64, OpenSSL 1.1.1, Unicode, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2015
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'no'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: release
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'yes'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2017, Debug, x64, OpenSSL 1.1.1, Unicode, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'yes'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: debug
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'yes'
|
2023-10-30 02:15:11 +08:00
|
|
|
- job_name: 'winbuild, VS2017, Release, x64, OpenSSL 1.1.1, Unicode, Build-only'
|
2023-10-02 01:32:59 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2017'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: winbuild_vs2017
|
2023-10-02 01:32:59 +08:00
|
|
|
DEBUG: 'no'
|
2023-09-30 02:47:08 +08:00
|
|
|
PATHPART: release
|
2023-10-02 01:32:59 +08:00
|
|
|
TESTING: 'OFF'
|
|
|
|
ENABLE_UNICODE: 'yes'
|
2024-05-11 21:34:12 +08:00
|
|
|
|
2023-09-30 02:47:08 +08:00
|
|
|
# generated VisualStudioSolution-based builds
|
2024-05-11 21:34:12 +08:00
|
|
|
|
2024-04-08 15:13:17 +08:00
|
|
|
- job_name: 'VisualStudioSolution, VS2013, Debug, x86, Schannel, Build-only'
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015'
|
2023-09-30 02:47:08 +08:00
|
|
|
BUILD_SYSTEM: VisualStudioSolution
|
2023-10-02 01:32:59 +08:00
|
|
|
PRJ_CFG: 'DLL Debug - DLL Windows SSPI - DLL WinIDN'
|
|
|
|
TESTING: 'OFF'
|
2024-04-08 15:13:17 +08:00
|
|
|
VC_VERSION: VC12
|
2024-05-11 21:34:12 +08:00
|
|
|
|
2018-10-11 04:22:06 +08:00
|
|
|
install:
|
GHA: add three old (gcc 6, 7, 9) mingw-w64 jobs
Re-implement old mingw-w64 jobs in GHA. This allows to use the latest
Windows runners, replacing Windows Server 2012 R2 (gcc 6) and Windows
Server 2016 (gcc 7, 9) with Windows Server 2022.
GHA runners are also significantly faster, and allow running tests in
parallel (`-j14`). It also offloads 3 more long-running jobs from
AppVeyor CI.
These jobs download (then cache) the mingw-w64 packages from their
original location, which allows flexibility in choosing which versions
and flavours (win32/POSIX, SEH/DWARF, 64/32-bit) we want to test in CI.
The new jobs use these distros:
- https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/ (for gcc 7, same as on AppVeyor)
- https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/ (for gcc 6, same as on AppVeyor)
- https://winlibs.com/ (for gcc 9)
I matched existing AppVeyor job configs, with these differences:
- gcc 6.4.0 instead of 6.3.0.
(same distro as on AppVeyor, but the latest bugfix release)
- gcc 9.5.0 instead of 9.1.0 and a different (but compatible) binary distro.
(in AppVeyor this relies on an old MSYS2 pre-installed on the runner)
- using win32 builds instead of posix for gcc 6.4.0 and 7.3.0.
- websockets enabled.
- always build examples.
- always build tests (this wasn't done for 6.4.0 with AppVeyor CI).
I did not replicate existing test exclusions, and oddly enough the few
failures (so far) were different from MSYS2 jobs and also from their
AppVeyor CI counterparts.
Also:
- delete redundant (default) `-u` option from `cygpath` calls.
- allow matrix options to override default ones in CMake.
- detect and use Windows-supplied curl for `TFLAGS` `-ac` option.
(it's available in modern runners.)
- delete the 3 AppVeyor CI jobs now replicated in GHA.
- appveyor: prefer `SYSTEMROOT` over `WINDIR`.
- tidy-up quotes.
Job performance:
```
AppVeyor GHA
w/examples
w/tests
-------- ----------
CMake, mingw-w64, gcc 6, Debug, x86, Schannel, Static, no-unity 1m25s 8m50s
CMake, mingw-w64, gcc 7, Debug, x64, Schannel, Static, Unicode 31m45s 9m39s
CMake, mingw-w64, gcc 9, Debug, x64, Schannel, Static 28m25s 13m38s
```
Based on these runs:
https://ci.appveyor.com/project/curlorg/curl/builds/49880799
https://github.com/curl/curl/actions/runs/9218292508
Notice that building examples and tests is time consuming.
We can tweak any build parameter as necessary to make them more useful
and/or without clogging the job queue or introducing flakiness.
Closes #13759
2024-05-23 20:54:49 +08:00
|
|
|
- ps: $env:PATH = "C:/msys64/usr/bin;$env:PATH"
|
2023-09-30 02:47:08 +08:00
|
|
|
|
2023-12-21 11:59:20 +08:00
|
|
|
build_script:
|
|
|
|
- cmd: sh -c ./appveyor.sh
|
2023-10-02 01:32:59 +08:00
|
|
|
|
|
|
|
clone_depth: 10
|
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:
|
2023-09-30 02:47:08 +08:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /\/ci$/
|
2019-10-20 02:37:06 +08:00
|
|
|
|
2023-04-25 07:34:26 +08:00
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- '.azure-pipelines.yml'
|
2024-03-01 17:06:28 +08:00
|
|
|
- '.circleci/*'
|
2023-04-25 07:34:26 +08:00
|
|
|
- '.cirrus.yml'
|
2023-04-29 01:28:06 +08:00
|
|
|
- '.github/**/*'
|
|
|
|
- 'packages/**/*'
|
|
|
|
- 'plan9/**/*'
|
2023-04-25 07:34:26 +08:00
|
|
|
|
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'
|
2023-05-09 18:10:40 +08:00
|
|
|
name: libcurl dll
|