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 fail-fast: false
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
name: [neovim-v04-x64,neovim-nightly-x64] name: [neovim-v11-x64,neovim-nightly-x64]
include: include:
- name: neovim-v04-x64 - name: neovim-v11-x64
os: ubuntu-latest os: ubuntu-latest
neovim_version: v0.4.3 neovim_version: v0.11.4
- name: neovim-nightly-x64 - name: neovim-nightly-x64
os: ubuntu-latest os: ubuntu-latest
neovim_version: nightly neovim_version: nightly
@@ -29,7 +29,7 @@ jobs:
shell: bash shell: bash
run: | run: |
mkdir -p ~/nvim/bin 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 chmod u+x ~/nvim/bin/nvim
- name: Download test runner - name: Download test runner
shell: bash shell: bash

View File

@@ -14,19 +14,25 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
name: [vim-v82-x64, vim-v81-x64] name: [vim-v91-x64, vim-v90-x64]
include: include:
- name: vim-v82-x64 - name: vim-v91-x64
os: ubuntu-latest os: ubuntu-latest
vim_version: 8.2.0813 vim_version: 9.1.1864
glibc_version: 2.15 glibc_version: 2.34
- name: vim-v81-x64 - name: vim-v90-x64
os: ubuntu-latest os: ubuntu-latest
vim_version: 8.1.2414 vim_version: 9.0.2190
glibc_version: 2.15 glibc_version: 2.29
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
steps: steps:
- uses: actions/checkout@v4 - 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 - name: Download vim
shell: bash shell: bash
run: | run: |

View File

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

View File

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