Skip to content

Commit af1229c

Browse files
committed
debug: dump build.ninja on self-host failure
1 parent 2f0774f commit af1229c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci-windows.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,11 @@ jobs:
274274
ls "$MCPP_XPKGS/xim-x-llvm/20.1.7/bin/" | head -5
275275
fi
276276
277-
"$MCPP_EXE" build
277+
"$MCPP_EXE" build || {
278+
echo "=== build.ninja (first 50 lines) ==="
279+
find target -name "build.ninja" -exec head -50 {} \; 2>/dev/null
280+
exit 1
281+
}
278282
279283
# Find the self-hosted binary
280284
SELF_MCPP=$(find target -name "mcpp.exe" -path "*/bin/*" | head -1)

0 commit comments

Comments
 (0)