]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: emit the compiler's version in the build reports
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2022 10:03:18 +0000 (11:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2022 10:14:02 +0000 (11:14 +0100)
Some occasional builds fail only on a specific platform and being able
to figure the exact compiler version used there is crucial. It's not
easy to guess from the rest of the output, so let's add it before the
platform-specific defines, which suit the same needs.

.github/workflows/vtest.yml

index 75c79c25af6ddf9f1cdfebb523898ae63b117683..fb7b1d968ada714cea2f43b2c1a992d3f2b6e1e8 100644 (file)
@@ -100,6 +100,9 @@ jobs:
       run: make -C addons/wurfl/dummy
     - name: Compile HAProxy with ${{ matrix.CC }}
       run: |
+        echo "::group::Show compiler's version"
+        echo | ${{ matrix.CC }} -v
+        echo "::endgroup::"
         echo "::group::Show platform specific defines"
         echo | ${{ matrix.CC }} -dM -xc -E -
         echo "::endgroup::"