aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-05 08:55:25 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-14 17:30:51 -0300
commitdc826cba3144644567d87496815f122384c2e0d9 (patch)
tree81b2bbafc8a5ccbcd59374dace1088311c5bdbb8 /.github/workflows
parentbuild(deps): bump github/codeql-action from 2.3.5 to 2.3.6 (diff)
downloadfirejail-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')
-rw-r--r--.github/workflows/build-extra.yml2
-rw-r--r--.github/workflows/build.yml1
2 files changed, 3 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:
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