fix neovim path (#299)

Fixes GitHub workflows
This commit is contained in:
mattn
2025-10-18 20:47:49 +09:00
committed by GitHub
parent 87eb253ce8
commit 17b654a87a
4 changed files with 26 additions and 20 deletions

View File

@@ -14,11 +14,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
name: [neovim-v11-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
- name: neovim-v11-x64
os: ubuntu-latest
neovim_version: v0.4.3
neovim_version: v0.11.4
- name: neovim-nightly-x64
os: ubuntu-latest
neovim_version: nightly
@@ -29,7 +29,7 @@ jobs:
shell: bash
run: |
mkdir -p ~/nvim/bin
curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim.appimage -o ~/nvim/bin/nvim
curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-linux-x86_64.appimage -o ~/nvim/bin/nvim
chmod u+x ~/nvim/bin/nvim
- name: Download test runner
shell: bash

View File

@@ -14,19 +14,25 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: [vim-v82-x64, vim-v81-x64]
name: [vim-v91-x64, vim-v90-x64]
include:
- name: vim-v82-x64
- name: vim-v91-x64
os: ubuntu-latest
vim_version: 8.2.0813
glibc_version: 2.15
- name: vim-v81-x64
vim_version: 9.1.1864
glibc_version: 2.34
- name: vim-v90-x64
os: ubuntu-latest
vim_version: 8.1.2414
glibc_version: 2.15
vim_version: 9.0.2190
glibc_version: 2.29
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get -qq update
sudo apt-get install -y --no-install-recommends \
libfuse2
- name: Download vim
shell: bash
run: |

View File

@@ -14,11 +14,11 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
name: [neovim-v11-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
- name: neovim-v11-x64
os: macos-latest
neovim_version: v0.4.3
neovim_version: v0.11.4
- name: neovim-nightly-x64
os: macos-latest
neovim_version: nightly
@@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- name: Download neovim
shell: bash
run: curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-macos.tar.gz -o ~/nvim.tar.gz
run: curl -L https://github.com/neovim/neovim/releases/download/${{matrix.neovim_version}}/nvim-macos-x86_64.tar.gz -o ~/nvim.tar.gz
- name: Extract neovim
shell: bash
run: tar xzf ~/nvim.tar.gz -C ~/
@@ -37,7 +37,7 @@ jobs:
- name: Run tests
shell: bash
run: |
export PATH=~/nvim-osx64/bin:$PATH
export PATH=~/nvim-macos-x86_64/bin:$PATH
export PATH=~/themis/bin:$PATH
export THEMIS_VIM=nvim
nvim --version

View File

@@ -14,11 +14,11 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest]
name: [neovim-v04-x64,neovim-nightly-x64]
name: [neovim-v11-x64,neovim-nightly-x64]
include:
- name: neovim-v04-x64
- name: neovim-v11-x64
os: windows-latest
neovim_version: v0.4.3
neovim_version: v0.11.4
neovim_arch: win64
- name: neovim-nightly-x64
os: windows-latest
@@ -39,7 +39,7 @@ jobs:
- name: Run tests
shell: cmd
run: |
SET PATH=%USERPROFILE%\Neovim\bin;%PATH%;
SET PATH=%USERPROFILE%\nvim-${{matrix.neovim_arch}}\bin;%PATH%;
SET PATH=%USERPROFILE%\themis\bin;%PATH%;
SET THEMIS_VIM=nvim
nvim --version