Skip to content

Commit 17df796

Browse files
committed
ci: debug install path on failure
1 parent b3db460 commit 17df796

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,13 @@ jobs:
3939
run: mcpp index update
4040

4141
- name: Build with mcpp
42-
run: mcpp build
42+
run: |
43+
mcpp build 2>&1 || {
44+
echo "=== MCPP ENV ==="
45+
mcpp self env 2>&1 || true
46+
echo "=== XPKGS DIR ==="
47+
MCPP_HOME_DIR=$(mcpp self env 2>&1 | grep 'MCPP_HOME' | head -1 | sed 's/.*= *//')
48+
find "$MCPP_HOME_DIR" -path "*/xpkgs/*tinyhttps*" -maxdepth 5 2>/dev/null || echo "not found in MCPP_HOME"
49+
find ~/.xlings -path "*/xpkgs/*tinyhttps*" -maxdepth 5 2>/dev/null || echo "not found in ~/.xlings"
50+
exit 1
51+
}

0 commit comments

Comments
 (0)