mirror of
https://github.com/curl/curl.git
synced 2026-07-24 21:47:18 +03:00
CI: dump non-pre-fill configure log on pre-fill check fail
To help debugging builds where the actual feature check is broken.
Follow-up to e7adf3e837 #15841
Closes #16369
This commit is contained in:
parent
a74dd9f330
commit
67559aa8ce
3 changed files with 12 additions and 8 deletions
5
.github/workflows/macos.yml
vendored
5
.github/workflows/macos.yml
vendored
|
|
@ -239,8 +239,9 @@ jobs:
|
|||
-DCMAKE_C_COMPILER_TARGET="$(uname -m | sed 's/arm64/aarch64/')-apple-darwin$(uname -r)" \
|
||||
${{ matrix.build.generate }} ${options}
|
||||
done
|
||||
if [ -d bld_chkprefill ]; then
|
||||
diff -u bld/lib/curl_config.h bld_chkprefill/lib/curl_config.h
|
||||
if [ -d bld_chkprefill ] && ! diff -u bld/lib/curl_config.h bld_chkprefill/lib/curl_config.h; then
|
||||
echo '::group::reference configure log'; cat bld_chkprefill/CMakeFiles/CMake*.yaml 2>/dev/null || true; echo '::endgroup::'
|
||||
false
|
||||
fi
|
||||
else
|
||||
export CFLAGS
|
||||
|
|
|
|||
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
|
|
@ -260,8 +260,9 @@ jobs:
|
|||
-DCURL_WERROR=ON \
|
||||
${{ matrix.config }}
|
||||
done
|
||||
if [ -d bld_chkprefill ]; then
|
||||
diff -u bld/lib/curl_config.h bld_chkprefill/lib/curl_config.h
|
||||
if [ -d bld_chkprefill ] && ! diff -u bld/lib/curl_config.h bld_chkprefill/lib/curl_config.h; then
|
||||
echo '::group::reference configure log'; cat bld_chkprefill/CMakeFiles/CMake*.yaml 2>/dev/null || true; echo '::endgroup::'
|
||||
false
|
||||
fi
|
||||
else
|
||||
export CFLAGS CPPFLAGS
|
||||
|
|
@ -756,8 +757,9 @@ jobs:
|
|||
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE= \
|
||||
${{ matrix.config }}
|
||||
done
|
||||
if [ -d bld_chkprefill ]; then
|
||||
diff -u bld/lib/curl_config.h bld_chkprefill/lib/curl_config.h
|
||||
if [ -d bld_chkprefill ] && ! diff -u bld/lib/curl_config.h bld_chkprefill/lib/curl_config.h; then
|
||||
echo '::group::reference configure log'; cat bld_chkprefill/CMakeFiles/CMake*.yaml 2>/dev/null || true; echo '::endgroup::'
|
||||
false
|
||||
fi
|
||||
|
||||
- name: 'configure log'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue