Skip to content

Commit fcc851a

Browse files
committed
fix: use absolute path for bootstrap mcpp binary
ninja cwd differs from shell cwd — relative paths break. Use $PWD/build/... to get absolute path.
1 parent df2c214 commit fcc851a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ jobs:
295295
xmake f -y -m release --toolchain=llvm --sdk="$LLVM_ROOT"
296296
xmake build -y mcpp
297297
rm -f xmake.lua
298-
MCPP_V1=$(find build -name mcpp -type f -perm +111 | head -1)
298+
MCPP_V1=$(find "$PWD/build" -name mcpp -type f -perm +111 | head -1)
299299
test -x "$MCPP_V1"
300300
"$MCPP_V1" --version
301301
echo ":: Step 1 PASS: xmake produced mcpp"

0 commit comments

Comments
 (0)