diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-05-05 08:55:25 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-06-14 17:30:51 -0300 |
commit | dc826cba3144644567d87496815f122384c2e0d9 (patch) | |
tree | 81b2bbafc8a5ccbcd59374dace1088311c5bdbb8 /.github/workflows/build.yml | |
parent | build(deps): bump github/codeql-action from 2.3.5 to 2.3.6 (diff) | |
download | firejail-dc826cba3144644567d87496815f122384c2e0d9.tar.gz firejail-dc826cba3144644567d87496815f122384c2e0d9.tar.zst firejail-dc826cba3144644567d87496815f122384c2e0d9.zip |
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
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
75 | run: > | 75 | run: > |
76 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 76 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings |
77 | --enable-analyzer --enable-apparmor --enable-selinux | 77 | --enable-analyzer --enable-apparmor --enable-selinux |
78 | || (cat config.log; exit 1) | ||
78 | - name: make | 79 | - name: make |
79 | run: make | 80 | run: make |
80 | - name: make install | 81 | - name: make install |