]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/linux-old: dump logs on configure failure
authorViktor Szakats <commit@vsz.me>
Wed, 8 Oct 2025 11:33:19 +0000 (13:33 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 8 Oct 2025 14:10:40 +0000 (16:10 +0200)
As done in other jobs, but here tailored to old cmake.

The logs generated by ancient CMake aren't super useful though.

Cherry-picked from #18932
Closes #18948

.github/workflows/linux-old.yml

index 5cb292cafcd5576c66f2fac71222feeaf6414748..c1415a981a7363be19271a01d45e283755363a42 100644 (file)
@@ -89,6 +89,10 @@ jobs:
           VERBOSE=1 make install
           src/curl --disable --version
 
+      - name: 'cmake build-only configure log'
+        if: ${{ !cancelled() }}
+        run: cat bld-1/CMakeFiles/CMake*.log 2>/dev/null || true
+
       - name: 'cmake build-only curl_config.h'
         run: |
           echo '::group::raw'; cat bld-1/lib/curl_config.h || true; echo '::endgroup::'
@@ -104,6 +108,10 @@ jobs:
             -DCURL_USE_GNUTLS=ON -DENABLE_ARES=ON -DCURL_USE_GSSAPI=ON -DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=OFF -DUSE_LIBRTMP=ON \
             -DCURL_LIBCURL_VERSIONED_SYMBOLS=ON
 
+      - name: 'cmake configure log'
+        if: ${{ !cancelled() }}
+        run: cat bld-cares/CMakeFiles/CMake*.log 2>/dev/null || true
+
       - name: 'cmake curl_config.h'
         run: |
           echo '::group::raw'; cat bld-cares/lib/curl_config.h || true; echo '::endgroup::'
@@ -137,6 +145,10 @@ jobs:
             --with-gnutls --enable-ares --without-libssh2 --with-zstd --with-gssapi --with-librtmp \
             --prefix="$PWD"/../curl-install-am
 
+      - name: 'autotools configure log'
+        if: ${{ !cancelled() }}
+        run: cat bld-am/config.log 2>/dev/null || true
+
       - name: 'autotools curl_config.h'
         run: |
           echo '::group::raw'; cat bld-am/lib/curl_config.h || true; echo '::endgroup::'