ci: dump curl_config.h to log in all jobs

Also:
- GHA/windows: merge full and brief dump into a single job step.
- fix shellcheck warning 'useless cat'.

Closes #15266
This commit is contained in:
Viktor Szakats 2024-10-11 13:40:48 +02:00
parent 617feb7c93
commit 7bff686476
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
9 changed files with 71 additions and 33 deletions

View file

@ -62,6 +62,7 @@ if [ "${BUILD_SYSTEM}" = 'CMake' ]; then
'-DCMAKE_INSTALL_PREFIX=C:/curl' \
"-DCMAKE_BUILD_TYPE=${PRJ_CFG}" \
'-DCURL_USE_LIBPSL=OFF'
echo 'curl_config.h'; grep -F '#define' _bld/lib/curl_config.h | sort || true
# shellcheck disable=SC2086
if ! cmake --build _bld --config "${PRJ_CFG}" --parallel 2 -- ${BUILD_OPT:-}; then
if [ "${PRJ_GEN}" = 'Visual Studio 9 2008' ]; then