-
Notifications
You must be signed in to change notification settings - Fork 147
58 lines (55 loc) · 1.55 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
name: Vim
on:
pull_request: ~
push:
paths-ignore:
- "*.md"
branches:
- main
jobs:
ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Vim
shell: bash
run: |
sudo apt update
sudo apt-get install vim-gtk lua5.4
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- name: Run vim
run: |
vim --version
vim -u test/init.vim
macos:
name: Macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Vim
run: |
brew install vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- name: Run vim
run: |
vim --version
vim -u test/init.vim
windows:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Vim
run: |
choco install vim
C:\msys64\usr\bin\wget.exe -q https://downloads.sourceforge.net/project/luabinaries/5.4.2/Tools%20Executables/lua-5.4.2_Win64_bin.zip
7z x lua-5.4.2_Win64_bin.zip
move lua54.dll C:\Windows\System32\
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni $HOME/vimfiles/autoload/plug.vim -Force
- name: Run vim
run: |
vim --version
gvim -u test/init.vim