File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,17 +14,15 @@ jobs:
1414 sudo apt-get update
1515 sudo apt-get install -y build-essential python3 git openjdk-17-jdk-headless
1616
17- - name : Clone java-tree-sitter (latest, with submodules for cpp only)
17+ - name : Clone java-tree-sitter with all grammar submodules
1818 run : |
19- git clone --depth 1 https://github.com/seart-group/java-tree-sitter.git java-tree-sitter
20- cd java-tree-sitter
21- # Only init the submodules we actually need
22- git submodule update --init --depth 1 tree-sitter tree-sitter-cpp
19+ git clone --depth 1 --recurse-submodules --shallow-submodules \
20+ https://github.com/seart-group/java-tree-sitter.git java-tree-sitter
2321
24- - name : Build native library (C++ grammar only , glibc)
22+ - name : Build native library (all grammars , glibc)
2523 run : |
2624 cd java-tree-sitter
27- python3 build.py --verbose tree-sitter-cpp
25+ python3 build.py --verbose
2826 ls -lh libjava-tree-sitter.so
2927 file libjava-tree-sitter.so
3028 ldd libjava-tree-sitter.so
You can’t perform that action at this time.
0 commit comments