Skip to content

Commit d41334d

Browse files
fix(ci): install tree-sitter dependencies before luarocks release
1 parent 8b6548d commit d41334d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/luarocks-scm.yml

+10
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ jobs:
1010
luarocks-upload:
1111
runs-on: ubuntu-22.04
1212
steps:
13+
# HACK: move tree-sitter-cli & c/c++ compilers to luarocks-build-treesitter-parser dependencies
14+
- name: Install tree-sitter CLI
15+
uses: baptiste0928/cargo-install@v3
16+
with:
17+
crate: tree-sitter-cli
18+
- name: Install C/C++ Compiler
19+
uses: rlalik/setup-cpp-compiler@master
20+
with:
21+
compiler: clang-latest
1322
- uses: actions/checkout@v4
1423
with:
1524
fetch-depth: 0 # Required to count the commits
@@ -33,6 +42,7 @@ jobs:
3342
mimetypes
3443
xml2lua
3544
fidget.nvim
45+
tree-sitter-http == 0.0.33
3646
test_dependencies: |
3747
nlua
3848
copy_directories: |

.github/workflows/luarocks.yml

+9
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ jobs:
1414
runs-on: ubuntu-latest
1515
name: Luarocks upload
1616
steps:
17+
# HACK: move tree-sitter-cli & c/c++ compilers to luarocks-build-treesitter-parser dependencies
18+
- name: Install tree-sitter CLI
19+
uses: baptiste0928/cargo-install@v3
20+
with:
21+
crate: tree-sitter-cli
22+
- name: Install C/C++ Compiler
23+
uses: rlalik/setup-cpp-compiler@master
24+
with:
25+
compiler: clang-latest
1726
- name: Checkout
1827
uses: actions/checkout@v4
1928
with:

0 commit comments

Comments
 (0)