Skip to content

Commit d8a9215

Browse files
ci: generate with ABI 15
1 parent 260e540 commit d8a9215

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ jobs:
5252
- name: Get tree-sitter commit
5353
shell: sh
5454
run: printf 'TREE_SITTER_REF=%s\n' "$(git rev-parse HEAD:core)" >> "$GITHUB_ENV"
55-
- name: Set up tree-sitter CLI
56-
if: runner.os == 'Windows'
55+
- name: Set up tree-sitter
5756
uses: tree-sitter/setup-action/cli@v2
5857
- name: Set up tree-sitter library
5958
uses: tree-sitter/setup-action/lib@v2
@@ -64,8 +63,10 @@ jobs:
6463
run: |-
6564
git clone --depth=1 https://github.com/tree-sitter/tree-sitter-java
6665
cd tree-sitter-java
66+
tree-sitter generate --abi=15
6767
cmake -B build \
6868
-DBUILD_SHARED_LIBS=ON \
69+
-DTREE_SITTER_ABI_VERSION=15 \
6970
-DCMAKE_INSTALL_LIBDIR=lib \
7071
-DCMAKE_INSTALL_BINDIR=lib \
7172
-DCMAKE_INSTALL_PREFIX="$RUNNER_TOOL_CACHE/tree-sitter/lib"

0 commit comments

Comments
 (0)