File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 shell : bash
6565 run : |
6666 export MCPP_VENDORED_XLINGS="$XLINGS_BIN"
67+ export MCPP_HOME="$USERPROFILE/.mcpp"
6768
6869 # Pre-seed mcpp sandbox with xlings LLVM (avoids redundant download)
69- MCPP_XPKGS="$USERPROFILE/.mcpp /registry/data/xpkgs"
70+ MCPP_XPKGS="$MCPP_HOME /registry/data/xpkgs"
7071 XLINGS_XPKGS="$USERPROFILE/.xlings/data/xpkgs"
7172 if [ -d "$XLINGS_XPKGS/xim-x-llvm" ]; then
7273 mkdir -p "$MCPP_XPKGS"
8586 echo "Self-hosted binary: $MCPP_FRESH"
8687 "$MCPP_FRESH" --version
8788 export MCPP_VENDORED_XLINGS="$XLINGS_BIN"
89+ # Share the sandbox from self-host build (has LLVM toolchain)
90+ export MCPP_HOME="$USERPROFILE/.mcpp"
8891 "$MCPP_FRESH" test
8992
9093 - name : E2E suite
9497 MCPP=$(cd "$(dirname "$MCPP")" && pwd)/$(basename "$MCPP")
9598 test -f "$MCPP"
9699 export MCPP
100+ export MCPP_HOME="$USERPROFILE/.mcpp"
97101 export MCPP_VENDORED_XLINGS="$XLINGS_BIN"
98102 export MCPP_E2E_TOOLCHAIN_MIRROR=GLOBAL
99103 "$MCPP" self config --mirror "$MCPP_E2E_TOOLCHAIN_MIRROR" 2>/dev/null || true
@@ -106,6 +110,7 @@ jobs:
106110 MCPP=$(find target -name "mcpp.exe" -path "*/bin/*" | head -1)
107111 MCPP=$(cd "$(dirname "$MCPP")" && pwd)/$(basename "$MCPP")
108112 export MCPP_VENDORED_XLINGS="$XLINGS_BIN"
113+ export MCPP_HOME="$USERPROFILE/.mcpp"
109114 "$MCPP" build
110115 "$MCPP" --version
111116 echo ":: Self-host smoke PASS"
You can’t perform that action at this time.
0 commit comments