mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
ci: Try out windows-2022
This commit is contained in:
parent
afed686e6a
commit
8016b74cea
2 changed files with 7 additions and 7 deletions
|
|
@ -7,14 +7,14 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-2022, macos-latest]
|
||||||
cc: [ gcc, clang ]
|
cc: [ gcc, clang ]
|
||||||
exclude:
|
exclude:
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cc: gcc
|
cc: gcc
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-2022
|
||||||
cc: cl
|
cc: cl
|
||||||
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
|
|
@ -37,17 +37,17 @@ jobs:
|
||||||
bash ./scripts/ci-install-${{ matrix.os }}.sh
|
bash ./scripts/ci-install-${{ matrix.os }}.sh
|
||||||
|
|
||||||
- name: Compile parsers Unix like
|
- name: Compile parsers Unix like
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-2022'
|
||||||
run: |
|
run: |
|
||||||
nvim --headless -c "TSInstallSync all" -c "q"
|
nvim --headless -c "TSInstallSync all" -c "q"
|
||||||
|
|
||||||
- name: Compile parsers Windows
|
- name: Compile parsers Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2022'
|
||||||
run: |
|
run: |
|
||||||
Neovim\\bin\\nvim.exe --headless -c "TSInstallSync all" -c "q"
|
Neovim\\bin\\nvim.exe --headless -c "TSInstallSync all" -c "q"
|
||||||
|
|
||||||
- name: Post compile Windows
|
- name: Post compile Windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2022'
|
||||||
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
|
||||||
|
|
||||||
|
|
@ -57,13 +57,13 @@ jobs:
|
||||||
path: parser/*
|
path: parser/*
|
||||||
|
|
||||||
- name: Check query files (Unix)
|
- name: Check query files (Unix)
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-2022'
|
||||||
env:
|
env:
|
||||||
ALLOWED_INSTALLATION_FAILURES: haskell
|
ALLOWED_INSTALLATION_FAILURES: haskell
|
||||||
run: nvim --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
run: nvim --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||||
|
|
||||||
- name: Check query files (Windows)
|
- name: Check query files (Windows)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-2022'
|
||||||
env:
|
env:
|
||||||
ALLOWED_INSTALLATION_FAILURES: haskell
|
ALLOWED_INSTALLATION_FAILURES: haskell
|
||||||
run: Neovim\\bin\\nvim.exe --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
run: Neovim\\bin\\nvim.exe --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue