GHA/curl-for-win: drop x86, fix zlib-classic, switch back to libssh

- switch x86 job to x64. x86 is not longer actively maintained in
  curl-for-win.
  Ref: https://github.com/curl/curl-for-win/discussions/68

- switch back from libssh2 to libssh.
  Reverts af8e1aa4b0 #18257

- fix to really build with zlib-classic.
  Follow-up to 8076824870 #17357

Closes #18400
This commit is contained in:
Viktor Szakats 2025-08-26 11:42:21 +02:00
parent 022f9a428a
commit e2c747bb5d
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -147,8 +147,8 @@ jobs:
"${DOCKER_IMAGE}" \
sh -c ./_ci-linux-debian.sh
win-gcc-zlibold-x86:
name: 'Windows gcc zlib-classic (x86)'
win-gcc-libssh-zlibold-x64:
name: 'Windows gcc libssh zlib-classic (x64)'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
@ -161,7 +161,7 @@ jobs:
run: |
git clone --depth 1 https://github.com/curl/curl-for-win
mv curl-for-win/* .
export CW_CONFIG='-main-werror-unitybatch-win-x86-gcc-zlibng'
export CW_CONFIG='-main-werror-unitybatch-win-x64-gcc-libssh1-zlibold'
export CW_REVISION="${GITHUB_SHA}"
. ./_versions.sh
sudo podman image trust set --type reject default