aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStephan Seitz <sseitz@nvidia.com>2021-10-10 11:52:16 +0200
committerStephan Seitz <stephan.seitz@fau.de>2021-10-21 19:50:23 +0200
commit7135321cc254fd2a543f596a3648fdc481e54eef (patch)
tree52c44e20118ee514c2e5f22f2a22797ba3fd86a6 /scripts
parentci: upload artifacts before check (diff)
downloadnvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.tar
nvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.tar.gz
nvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.tar.bz2
nvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.tar.lz
nvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.tar.xz
nvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.tar.zst
nvim-treesitter-7135321cc254fd2a543f596a3648fdc481e54eef.zip
ci: use nvim v0.5.1 on CI
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci-install-macos-latest.sh2
-rw-r--r--scripts/ci-install-ubuntu-latest.sh4
-rw-r--r--scripts/ci-install-windows-latest.sh4
3 files changed, 5 insertions, 5 deletions
diff --git a/scripts/ci-install-macos-latest.sh b/scripts/ci-install-macos-latest.sh
index fe57186af..1357e1239 100644
--- a/scripts/ci-install-macos-latest.sh
+++ b/scripts/ci-install-macos-latest.sh
@@ -1,4 +1,4 @@
-curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz | tar -xz
+curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz
sudo ln -s $(pwd)/nvim-osx64/bin/nvim /usr/local/bin
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
diff --git a/scripts/ci-install-ubuntu-latest.sh b/scripts/ci-install-ubuntu-latest.sh
index 8f20592c3..45a65d419 100644
--- a/scripts/ci-install-ubuntu-latest.sh
+++ b/scripts/ci-install-ubuntu-latest.sh
@@ -1,9 +1,9 @@
sudo apt-get update
sudo add-apt-repository universe
-wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/v0.19.4/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter
+wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/${TREE_SITTER_CLI_TAG}/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter
sudo cp ./tree-sitter /usr/bin/tree-sitter
sudo chmod uog+rwx /usr/bin/tree-sitter
-wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
+wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/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
diff --git a/scripts/ci-install-windows-latest.sh b/scripts/ci-install-windows-latest.sh
index f69284e55..6af5b0ce9 100644
--- a/scripts/ci-install-windows-latest.sh
+++ b/scripts/ci-install-windows-latest.sh
@@ -1,5 +1,5 @@
-choco install neovim --pre
+curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-win64.zip -o nvim-win64.zip
+unzip nvim-win64
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
-