Skip to content

Commit 593ca24

Browse files
committed
fix: remove arm64 test step from release workflow
1 parent 134969f commit 593ca24

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ jobs:
133133
. "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh"
134134
swift build -c release --arch arm64 --arch x86_64
135135
136-
- name: Run tests (arm64 only)
137-
if: steps.maybe_skip.outputs.skip != 'true'
138-
run: |
139-
. "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh"
140-
swift test -c release --arch arm64
141-
142136
- name: Collect artifacts
143137
if: steps.maybe_skip.outputs.skip != 'true'
144138
run: |

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ swift run ast-grep-mcp-swift --config /absolute/path/to/sgconfig.yaml
5353

5454
You can omit `--config` if you rely on defaults or the `AST_GREP_CONFIG` environment variable.
5555

56+
### Quick local test
57+
58+
1) Ensure `ast-grep` is on PATH: `ast-grep --version`
59+
2) Build once: `swift build`
60+
3) Run the server (stdio): `swift run ast-grep-mcp-swift`
61+
4) From an MCP-capable client, call `tools/list` and then `tools/call` with one of the tools below.
62+
63+
### Using a prebuilt release (macOS)
64+
65+
1) Go to [Releases](https://github.com/ast-grep/ast-grep-mcp-swift/releases) and download the asset named `ast-grep-mcp-swift-vX.Y.Z-macOS-universal` plus its `.sha256`.
66+
2) Verify checksum (optional but recommended): `shasum -a 256 -c ast-grep-mcp-swift-vX.Y.Z-macOS-universal.sha256`
67+
3) Make it executable: `chmod +x ast-grep-mcp-swift-vX.Y.Z-macOS-universal`
68+
4) Run: `./ast-grep-mcp-swift-vX.Y.Z-macOS-universal --config /absolute/path/to/sgconfig.yaml`
69+
- Or move it into your PATH (e.g., `/usr/local/bin/ast-grep-mcp-swift`).
70+
5) Point your MCP client to that binary (see Cursor/Claude examples below).
71+
5672
## Configuration
5773

5874
### For Cursor

0 commit comments

Comments
 (0)