mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add CI for testing parsers compilation
This commit is contained in:
parent
c7422dd257
commit
2f60b43c0f
4 changed files with 71 additions and 0 deletions
4
scripts/ci-install-macos-latest.sh
Normal file
4
scripts/ci-install-macos-latest.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
brew install neovim --HEAD
|
||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
|
||||
9
scripts/ci-install-ubuntu-latest.sh
Normal file
9
scripts/ci-install-ubuntu-latest.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
sudo apt-get update
|
||||
sudo add-apt-repository universe
|
||||
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod u+x nvim.appimage
|
||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
sudo cp ./nvim.appimage /usr/bin/nvim
|
||||
sudo chmod uog+rwx /usr/bin/nvim
|
||||
|
||||
5
scripts/ci-install-windows-latest.sh
Normal file
5
scripts/ci-install-windows-latest.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
choco install neovim --pre
|
||||
mkdir -p ~/AppData/Local/nvim/pack/nvim-treesitter/start
|
||||
mkdir -p ~/AppData/Local/nvim-data
|
||||
cp -r $(pwd) ~/AppData/Local/nvim/pack/nvim-treesitter/start
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue