Skip to content

Commit 342eb5b

Browse files
authored
Merge pull request #2 from moosetechnology/ci-add-libs
add compiled libs to the CI and switch from TSStub to TSNode
2 parents a949857 + 6f99a92 commit 342eb5b

File tree

7 files changed

+168
-420
lines changed

7 files changed

+168
-420
lines changed

.github/workflows/ci.yml

+10-14
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,19 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- uses: tree-sitter/setup-action@v2
19-
20-
- name: Clone Tree Sitter C
21-
uses: GuillaumeFalourd/[email protected]
22-
with:
23-
depth: 1
24-
branch: master
25-
owner: tree-sitter
26-
repository: tree-sitter-c
18+
- name: Move tree-sitter lib
19+
shell: bash
20+
run: |
21+
cd ressources/lib
22+
sudo mv libtree-sitter-v0.25.3.so /usr/local/lib/libtree-sitter.so
23+
cd ../..
2724
28-
- name: Build C lib grammar
25+
- name: Move C lib grammar
2926
shell: bash
3027
run: |
31-
cd tree-sitter-c
32-
tree-sitter build
33-
sudo mv c.so /usr/local/lib/libtree-sitter-c.so
34-
cd ..
28+
cd ressources/lib
29+
sudo mv libtree-sitter-c-v0.25.3.so /usr/local/lib/libtree-sitter-c.so
30+
cd ../..
3531
3632
- uses: hpi-swa/setup-smalltalkCI@v1
3733
with:
620 KB
Binary file not shown.
244 KB
Binary file not shown.

0 commit comments

Comments
 (0)