From a051816c03dacc611b0fd3b8f6247beb6d658abc Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 14 Nov 2022 11:03:18 +0100 Subject: [PATCH] CI: emit the compiler's version in the build reports 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index 75c79c25a..fb7b1d968 100644 --- a/.github/workflows/vtest.yml +++ b/.github/workflows/vtest.yml @@ -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::"