|
From: | Richard Henderson |
Subject: | Re: [RFC PATCH] gitlab: call ninja directly and reduce build noise |
Date: | Thu, 2 Feb 2023 13:30:26 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 2/2/23 08:59, Alex Bennée wrote:
+ - env NINJA_STATUS="[ninja][%f/%t] " ninja | fgrep -v "[ninja]" - if test -n "$MAKE_CHECK_ARGS"; then make -j"$JOBS" $MAKE_CHECK_ARGS ;This is too much for gitlab as it trips up on no output at all. What we really need is something that filters ninja output, counts the lines and outputs a dot every 10? 20? lines to keep gitlab happy. Shonky shell script? Very clever sed?
NINJA_STATUS='ninja %f: ' ninja | grep 'ninja.*[02468]0:' r~
[Prev in Thread] | Current Thread | [Next in Thread] |