-
-
Notifications
You must be signed in to change notification settings - Fork 104
71 lines (68 loc) · 1.79 KB
/
neovim.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Neovim
on:
pull_request: ~
push:
paths-ignore:
- "*.md"
branches:
- main
jobs:
ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
neovim_tag:
[
"v0.8.0",
"v0.8.1",
"v0.8.2",
"v0.8.3",
"v0.9.0",
"v0.9.1",
"v0.9.2",
"v0.9.4",
"v0.9.5",
"stable",
"nightly",
]
name: Ubuntu nvim-${{ matrix.neovim_tag }}
steps:
- uses: actions/checkout@v4
- name: Install Neovim
uses: MunifTanjim/setup-neovim-action@v1
with:
tag: ${{ matrix.neovim_tag }}
- name: Run neovim
run: |
nvim --version
nvim --headless -u test/init.lua +q
macos:
runs-on: macos-latest
name: Macos nvim-nightly
steps:
- uses: actions/checkout@v4
- name: Install Neovim
run: |
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-macos-x86_64.tar.gz
xattr -c ./nvim-macos-x86_64.tar.gz
tar xzvf nvim-macos-x86_64.tar.gz &> /dev/null
ln -s $(pwd)/nvim-macos-x86_64/bin/nvim /usr/local/bin/nvim
- name: Run neovim
run: |
nvim --version
nvim --headless -u test/init.lua +q
windows:
name: Windows nvim-nightly
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Neovim
run: |
C:\msys64\usr\bin\wget.exe -q https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.zip
7z x nvim-win64.zip
Add-Content $env:GITHUB_PATH ".\nvim-win64\bin\"
- name: Run neovim
run: |
nvim --version
nvim --headless -u test/init.lua +q