diff mbox series

[v3,3/4] ci: compile code with V=1

Message ID a3dfb7092a4aeb09cd9863e3e9ced2b4685f8576.1717742752.git.ps@pks.im (mailing list archive)
State Superseded
Headers show
Series ci: detect more warnings via `-Og` | expand

Commit Message

Patrick Steinhardt June 7, 2024, 6:46 a.m. UTC
It's hard to see which compiler flags our CI uses because we do not
compile with `V=1`, and thus we only see beautified output. This
information can be important at times though and may help developers to
see what's going on in a CI job. Furthermore, both GitLab and GitHub
have sections in their output such that the build output can be neatly
hidden away, so it doesn't clutter the output, either.

Compile code with `V=1` to improve debuggability.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
 ci/run-build-and-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh
index 98dda42045..2aaaf40f94 100755
--- a/ci/run-build-and-tests.sh
+++ b/ci/run-build-and-tests.sh
@@ -48,7 +48,7 @@  pedantic)
 	;;
 esac
 
-group Build make
+group Build make V=1
 if test -n "$run_tests"
 then
 	group "Run tests" make test ||