-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (37 loc) · 1.14 KB
/
linux_vim.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
name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
name: [vim-v82-x64]
include:
- name: vim-v82-x64
os: ubuntu-latest
vim_version: 8.2.0037
glibc_version: 2.15
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Download vim
shell: bash
run: |
mkdir -p ~/vim/bin
curl -L https://github.com/vim/vim-appimage/releases/download/v${{matrix.vim_version}}/GVim-v${{matrix.vim_version}}.glibc${{matrix.glibc_version}}-x86_64.AppImage -o ~/vim/bin/vim
chmod u+x ~/vim/bin/vim
- name: Download test runner
shell: bash
run: |
git clone --depth 1 --single-branch https://github.com/junegunn/vader.vim.git ./tests/vader.vim
- name: Run tests
shell: bash
run: |
export PATH=~/vim/bin:$PATH
cd ./tests
npm install
vim -u vimrc -c 'Vader! textlint.vader'
vim -u vimrc -c 'Vader! fix.vader'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}