Skip to content

Commit 13be30b

Browse files
committed
debug: list LLVM bin dir contents on self-host failure
1 parent 60ece4d commit 13be30b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/ci-windows.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,16 @@ jobs:
260260
# Debug: test xlings directly
261261
"$USERPROFILE/.xlings/subos/default/bin/xlings.exe" --version || echo "xlings direct call failed"
262262
263-
"$MCPP_EXE" build
263+
# Debug: check what's in the mcpp sandbox after xlings installs
264+
"$MCPP_EXE" build || {
265+
echo "=== mcpp build failed, debugging ==="
266+
echo "=== mcpp sandbox contents ==="
267+
find "$USERPROFILE/.mcpp/registry/data/xpkgs" -name "*.exe" 2>/dev/null | head -20
268+
echo "=== LLVM bin dir ==="
269+
ls "$USERPROFILE/.mcpp/registry/data/xpkgs/xim-x-llvm/20.1.7/bin/" 2>/dev/null || echo "dir not found"
270+
ls "$USERPROFILE/.mcpp/registry/data/xpkgs/xim-x-llvm/" 2>/dev/null || echo "llvm dir not found"
271+
exit 1
272+
}
264273
265274
# Find the self-hosted binary
266275
SELF_MCPP=$(find target -name "mcpp.exe" -path "*/bin/*" | head -1)

0 commit comments

Comments
 (0)