mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-10 09:13:53 +08:00
fix: stabilize cross-platform daemon launch
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
This commit is contained in:
@@ -239,7 +239,9 @@ jobs:
|
||||
|
||||
- name: Smoke test
|
||||
shell: msys2 {0}
|
||||
run: scripts/smoke-test.sh ./codebase-memory-mcp.exe
|
||||
run: |
|
||||
SMOKE_TEMP_ROOT="$(cygpath -u "$RUNNER_TEMP")" \
|
||||
scripts/smoke-test.sh ./codebase-memory-mcp.exe
|
||||
env:
|
||||
SMOKE_DOWNLOAD_URL: http://127.0.0.1:18080
|
||||
SMOKE_UPDATE_FIXTURE_DIR: /tmp/smoke-server
|
||||
|
||||
@@ -114,13 +114,18 @@ jobs:
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
scripts/build.sh CC=clang CXX=clang++
|
||||
SMOKE_DIR="$(mktemp -d)"
|
||||
# MSYS2 /tmp is intentionally shared. The launcher correctly rejects
|
||||
# a bundle below that writable ancestor, so stage in the runner's
|
||||
# account-private native temp directory instead.
|
||||
SMOKE_ROOT="$(cygpath -u "$RUNNER_TEMP")"
|
||||
SMOKE_DIR="$(mktemp -d "$SMOKE_ROOT/cbm-pr-smoke.XXXXXX")"
|
||||
trap 'rm -rf "$SMOKE_DIR"' EXIT
|
||||
cp build/c/codebase-memory-mcp-launcher.exe \
|
||||
"$SMOKE_DIR/codebase-memory-mcp.exe"
|
||||
cp build/c/codebase-memory-mcp.exe \
|
||||
"$SMOKE_DIR/codebase-memory-mcp.payload.exe"
|
||||
scripts/smoke-test.sh "$SMOKE_DIR/codebase-memory-mcp.exe"
|
||||
SMOKE_TEMP_ROOT="$SMOKE_ROOT" \
|
||||
scripts/smoke-test.sh "$SMOKE_DIR/codebase-memory-mcp.exe"
|
||||
|
||||
ci-ok:
|
||||
# The one required context (besides dco) — fails unless every PR stage
|
||||
|
||||
Reference in New Issue
Block a user