File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,10 +316,12 @@ jobs:
316316 "$MCPP" --version
317317 echo ":: Self-host smoke PASS"
318318
319- - name : Fresh user experience (xlings install mcpp → new → run)
319+ - name : Fresh user experience (mcpp new → run)
320320 run : |
321+ MCPP=$(find target -path "*/bin/mcpp" | head -1)
322+ MCPP=$(cd "$(dirname "$MCPP")" && pwd)/$(basename "$MCPP")
321323 TMP=$(mktemp -d)
322324 cd "$TMP"
323- mcpp new hello
325+ "$MCPP" new hello
324326 cd hello
325- mcpp run
327+ "$MCPP" run
Original file line number Diff line number Diff line change @@ -134,12 +134,11 @@ jobs:
134134 "$MCPP" build
135135 "$MCPP" test
136136
137- - name : Fresh user experience (xlings install mcpp → new → run)
138- env :
139- XLINGS_NON_INTERACTIVE : ' 1'
137+ - name : Fresh user experience (mcpp new → run)
140138 run : |
139+ MCPP=$(realpath "$(find target -type f -name mcpp -printf '%T@ %p\n' | sort -rn | head -1 | cut -d' ' -f2)")
141140 TMP=$(mktemp -d)
142141 cd "$TMP"
143- mcpp new hello
142+ "$MCPP" new hello
144143 cd hello
145- mcpp run
144+ "$MCPP" run
You can’t perform that action at this time.
0 commit comments