-
Notifications
You must be signed in to change notification settings - Fork 52
45 lines (42 loc) · 1.29 KB
/
linux_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
name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: [neovim-v08-x64]
include:
- name: neovim-v08-x64
os: ubuntu-latest
neovim_version: v0.8.1
runs-on: ${{matrix.os}}
steps:
- name: Initialization
run: |
sudo apt-get update
# libfuse2 and LD_PRELOAD are needed for appimage.
sudo apt-get -y install libfuse2
echo "LD_PRELOAD=/lib/x86_64-linux-gnu/libgmodule-2.0.so" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Download vim
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
chmod u+x ~/nvim/bin/nvim
- name: Download test runner
shell: bash
run: |
git clone --depth 1 --single-branch https://github.com/junegunn/vader.vim.git ./tests/vader.vim
make install
- name: Run tests
shell: bash
run: |
export PATH=~/nvim/bin:$PATH
cd ./tests
nvim -u vimrc -c 'Vader! *.vader'