From dc826cba3144644567d87496815f122384c2e0d9 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Fri, 5 May 2023 08:55:25 -0300 Subject: ci: print config.log if configure fails Example log of it failing: $ ./configure checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/tmp/build': configure: error: C compiler cannot create executables See `config.log' for more details --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e896ba8e0..82ec9b5bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,6 +75,7 @@ jobs: run: > CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings --enable-analyzer --enable-apparmor --enable-selinux + || (cat config.log; exit 1) - name: make run: make - name: make install -- cgit v1.2.3-70-g09d2