Skip to content

Commit

Permalink
fix(ci): install tree-sitter dependencies before luarocks release
Browse files Browse the repository at this point in the history
  • Loading branch information
boltlessengineer committed Dec 28, 2024
1 parent 8b6548d commit d41334d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/luarocks-scm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ jobs:
luarocks-upload:
runs-on: ubuntu-22.04
steps:
# HACK: move tree-sitter-cli & c/c++ compilers to luarocks-build-treesitter-parser dependencies
- name: Install tree-sitter CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tree-sitter-cli
- name: Install C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to count the commits
Expand All @@ -33,6 +42,7 @@ jobs:
mimetypes
xml2lua
fidget.nvim
tree-sitter-http == 0.0.33
test_dependencies: |
nlua
copy_directories: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:
runs-on: ubuntu-latest
name: Luarocks upload
steps:
# HACK: move tree-sitter-cli & c/c++ compilers to luarocks-build-treesitter-parser dependencies
- name: Install tree-sitter CLI
uses: baptiste0928/cargo-install@v3
with:
crate: tree-sitter-cli
- name: Install C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit d41334d

Please sign in to comment.