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-extra.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-extra.yml')
-rw-r--r-- | .github/workflows/build-extra.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index c812e4572..32a8969d6 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -71,6 +71,7 @@ jobs: | |||
71 | run: > | 71 | run: > |
72 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 72 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor |
73 | --enable-selinux | 73 | --enable-selinux |
74 | || (cat config.log; exit 1) | ||
74 | - name: make | 75 | - name: make |
75 | run: make | 76 | run: make |
76 | - name: make install | 77 | - name: make install |
@@ -98,6 +99,7 @@ jobs: | |||
98 | run: > | 99 | run: > |
99 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 100 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor |
100 | --enable-selinux | 101 | --enable-selinux |
102 | || (cat config.log; exit 1) | ||
101 | - name: scan-build | 103 | - name: scan-build |
102 | run: NO_EXTRA_CFLAGS="yes" scan-build-14 --status-bugs make | 104 | run: NO_EXTRA_CFLAGS="yes" scan-build-14 --status-bugs make |
103 | cppcheck: | 105 | cppcheck: |