mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
Check query files on all OSes
This commit is contained in:
parent
7a7a56d0f1
commit
92bc601c50
1 changed files with 8 additions and 0 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
|
@ -36,6 +36,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
nvim --headless -c "TSInstallSync all" -c "q"
|
nvim --headless -c "TSInstallSync all" -c "q"
|
||||||
|
|
||||||
|
- name: Check query files (Unix)
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
|
run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||||
|
|
||||||
- name: Compile parsers Windows
|
- name: Compile parsers Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -46,6 +50,10 @@ jobs:
|
||||||
run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser
|
run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Check query files (Windows)
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
|
run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: parsers-${{ matrix.os }}-${{ matrix.cc }}-x86_64
|
name: parsers-${{ matrix.os }}-${{ matrix.cc }}-x86_64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue