Thread (22 messages) 22 messages, 3 authors, 2024-06-10
STALE750d

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

From: Patrick Steinhardt <hidden>
Date: 2024-06-07 06:46:43
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 ci/run-build-and-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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 ||
-- 
2.45.2.436.gcd77e87115.dirty

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help