-
-
Notifications
You must be signed in to change notification settings - Fork 48
53 lines (51 loc) · 1.53 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
name: Vim
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest
version:
- nightly
- v8.2.1313 # https://github.com/lambdalisue/vim-fern/issues/506
runs-on: ${{ matrix.os }}
steps:
- if: runner.os == 'macOS' && matrix.version == 'v8.2.1313'
run: |
# it seems that ncurses is required for building Vim 8.2.1310 on macOS
brew install ncurses
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: thinca/vim-themis
path: vim-themis
# - uses: rhysd/action-setup-vim@v1
# id: vim
# with:
# version: "${{ matrix.version }}"
# if: runner.os != 'macOS' || matrix.version != 'v8.2.1313'
- uses: rhysd/action-setup-vim@v1
id: vim
with:
version: "${{ matrix.version }}"
configure-args: |
--with-tlib=ncurses --disable-nls
- name: Run tests
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
# XXX:
# Overwrite %TMP% to point a correct temp directory.
# Note that %TMP% only affects value of 'tempname()' in Windows.
# https://github.community/t5/GitHub-Actions/TEMP-is-broken-on-Windows/m-p/30432#M427
TMP: 'C:\Users\runneradmin\AppData\Local\Temp'
run: |
./vim-themis/bin/themis