mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Add treesitter CLI in CI with Windows and mac
This commit is contained in:
parent
73559e3793
commit
b44871afb5
3 changed files with 9 additions and 7 deletions
8
.github/workflows/test-queries.yml
vendored
8
.github/workflows/test-queries.yml
vendored
|
|
@ -24,8 +24,8 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-2022, macos-latest]
|
||||
cc: [ gcc, clang ]
|
||||
nvim_tag: [ stable ]
|
||||
cc: [gcc, clang]
|
||||
nvim_tag: [stable]
|
||||
exclude:
|
||||
- os: ubuntu-latest
|
||||
cc: clang
|
||||
|
|
@ -59,10 +59,12 @@ jobs:
|
|||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
- name: Install tree-sitter CLI
|
||||
run: npm i -g tree-sitter-cli
|
||||
|
||||
- name: Install and prepare Neovim
|
||||
env:
|
||||
NVIM_TAG: ${{ matrix.nvim_tag }}
|
||||
TREE_SITTER_CLI_TAG: v0.20.6
|
||||
run: |
|
||||
bash ./scripts/ci-install-${{ matrix.os }}.sh
|
||||
|
||||
|
|
|
|||
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
cc: [ gcc ]
|
||||
cc: [gcc]
|
||||
|
||||
name: Run tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
@ -30,6 +30,9 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
|
||||
- name: Install tree-sitter CLI
|
||||
run: npm i -g tree-sitter-cli
|
||||
|
||||
- name: Test Dependencies
|
||||
run: |
|
||||
mkdir -p ~/.local/share/nvim/site/pack/plenary.nvim/start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue