Skip to content

Commit 838040c

Browse files
committed
test: TEMP — manual ninja rerun forensics
1 parent 01f074d commit 838040c

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci-macos.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,14 @@ jobs:
326326
MCPP=$(cd "$(dirname "$MCPP")" && pwd)/$(basename "$MCPP")
327327
"$MCPP" self config --mirror GLOBAL
328328
"$MCPP" test || {
329-
echo "=== TEMP forensics: retry verbose unfiltered (remove before merge) ==="
330-
vm_stat | head -5
331-
"$MCPP" test -v > /tmp/mtv.log 2>&1
332-
echo "--- verbose tail ---"
333-
tail -200 /tmp/mtv.log
334-
echo "--- ninja FAILED lines ---"
335-
grep -B2 -A20 "FAILED" /tmp/mtv.log | head -80
329+
echo "=== TEMP forensics: manual ninja rerun (remove before merge) ==="
330+
for N in $(find target -name build.ninja); do
331+
D=$(dirname "$N")
332+
echo "--- dir: $D ---"
333+
NINJA=$(find "$HOME/.mcpp/registry/data/xpkgs/xim-x-ninja" -name ninja -type f | head -1)
334+
"$NINJA" -C "$D" -v 2>&1 | tail -40
335+
echo "--- ninja exit: $? ---"
336+
done
336337
exit 1
337338
}
338339

0 commit comments

Comments
 (0)