From dc28bb86c1e466c667ce220fd2e51355cd8bae8d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 1 Jul 2025 19:16:02 +0200 Subject: [PATCH] appveyor: drop VS2008 CI job, move OpenSSL 1.0.2 to VS2010 It became flaky today, possible due to an upstream issue. Drop this CI job also because VS2008 is going to be deprecated soon. Example: ``` 1>------ Build started: Project: curlu, Configuration: Debug Win32 ------ 1>Compiling... 1>Project : error PRJ0003 : Error spawning 'cl.exe'. 1>Build log was saved at "file://c:\projects\curl\_bld\lib\curlu.dir\Debug\BuildLog.htm" 1>curlu - 1 error(s), 0 warning(s) [...] 8>Linking... 8>LINK : fatal error LNK1104: cannot open file '..\..\lib\Debug\curlu-d.lib' 8>Build log was saved at "file://c:\projects\curl\_bld\tests\unit\units.dir\Debug\BuildLog.htm" 8>Test units - 1 error(s), 0 warning(s) [...] ========== Build: 7 succeeded, 2 failed, 5 up-to-date, 0 skipped ========== [...] Command exited with code 1 ``` Other times with no visible error all: ``` ========== Build: 9 succeeded, 0 failed, 5 up-to-date, 0 skipped ========== [...] Command exited with code 1 ``` Ref: https://ci.appveyor.com/project/curlorg/curl/builds/52330703/job/ooqxq0b8ftbsv640#L413 Follow-up to 8c9a9b87c20fd9184e0a6c7b5e2c42d727f0db62 #17725 Follow-up to 63e513b106113db0b1b68bab347b80cb4cef4e65 #17380 Closes #17798 --- appveyor.sh | 8 +------- appveyor.yml | 12 ++---------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/appveyor.sh b/appveyor.sh index 72ecba7bd2..ee4deaf5cb 100644 --- a/appveyor.sh +++ b/appveyor.sh @@ -87,13 +87,7 @@ if [ "${BUILD_SYSTEM}" = 'CMake' ]; then fi echo 'curl_config.h'; grep -F '#define' _bld/lib/curl_config.h | sort || true # shellcheck disable=SC2086 - if ! time cmake --build _bld --config "${PRJ_CFG}" --parallel 2 -- ${BUILD_OPT:-}; then - if [ "${PRJ_GEN}" = 'Visual Studio 9 2008' ]; then - find . -name BuildLog.htm -exec dos2unix '{}' + - find . -name BuildLog.htm -exec cat '{}' + - fi - false - fi + time cmake --build _bld --config "${PRJ_CFG}" --parallel 2 -- ${BUILD_OPT:-} [ "${SHARED}" = 'ON' ] && PATH="$PWD/_bld/lib/${PRJ_CFG}:$PATH" [ "${OPENSSL}" = 'ON' ] && { PATH="${openssl_root}:$PATH"; cp "${openssl_root}"/*.dll "_bld/src/${PRJ_CFG}"; } curl="_bld/src/${PRJ_CFG}/curl.exe" diff --git a/appveyor.yml b/appveyor.yml index 5c1df2fac3..634b777340 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -61,21 +61,13 @@ environment: SCHANNEL: 'ON' DEBUG: 'OFF' CURLDEBUG: 'ON' - - job_name: 'CMake, VS2008, Debug, x86, OpenSSL 1.0.2 + Schannel, Shared, Build-tests & examples' - APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2015' - PRJ_GEN: 'Visual Studio 9 2008' - TARGET: '-A Win32' - PRJ_CFG: Debug - OPENSSL: 'ON' - SCHANNEL: 'ON' - SHARED: 'ON' - EXAMPLES: 'ON' - - job_name: 'CMake, VS2010, Debug, x64, Schannel, Shared, Build-tests & examples' + - job_name: 'CMake, VS2010, Debug, x64, OpenSSL 1.0.2 + Schannel, Shared, Build-tests & examples' APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2013' PRJ_GEN: 'Visual Studio 10 2010' TARGET: '-A x64' WINTARGET: 0x0501 # Windows XP PRJ_CFG: Debug + OPENSSL: 'ON' SCHANNEL: 'ON' SHARED: 'ON' EXAMPLES: 'ON' -- 2.47.2