-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
-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
-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'
-DCMAKE_BUILD_TYPE="${PRJ_CFG}" \
-DCURL_USE_LIBPSL=OFF ${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
+ cat _bld_chkprefill/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
+ false
fi
if false; then
cat _bld/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true