mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2025-12-08 01:54:44 +08:00
Merge pull request #241 from kazukazuinaina/add_gha
[add] github actions
This commit is contained in:
43
.github/workflows/ci.yml
vendored
Normal file
43
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
vim:
|
||||||
|
- v8.2.1000
|
||||||
|
- v8.2.0000
|
||||||
|
- v8.1.0000
|
||||||
|
- v8.0.0000
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@main
|
||||||
|
|
||||||
|
- name: Setup Vim
|
||||||
|
uses: rhysd/action-setup-vim@v1
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.vim }}
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/junegunn/vader.vim.git
|
||||||
|
git clone https://github.com/vim-airline/vim-airline
|
||||||
|
find $PWD/autoload/airline/themes -name "*.vim" > themes.txt
|
||||||
|
- name: Run Test
|
||||||
|
run: |
|
||||||
|
vim --not-a-term -Nu <(cat << VIMRC
|
||||||
|
filetype off
|
||||||
|
set rtp+=vader.vim
|
||||||
|
set rtp+=vim-airline
|
||||||
|
set rtp+=.
|
||||||
|
set rtp+=after
|
||||||
|
filetype plugin indent on
|
||||||
|
syntax enable
|
||||||
|
VIMRC) -c 'Vader! test/*' > /dev/null
|
||||||
87
.travis.yml
87
.travis.yml
@@ -1,87 +0,0 @@
|
|||||||
language: generic
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.vvm
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: linux
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.0.0000
|
|
||||||
- os: linux
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.1.0000
|
|
||||||
- os: linux
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.0000
|
|
||||||
- os: linux
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.1000
|
|
||||||
- os: osx
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.0.0000
|
|
||||||
- os: osx
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.1.0000
|
|
||||||
- os: osx
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.0000
|
|
||||||
- os: osx
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.1000
|
|
||||||
# added power support arch ppc64le.
|
|
||||||
|
|
||||||
- os: linux
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.0.0000
|
|
||||||
- os: linux
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.1.0000
|
|
||||||
- os: linux
|
|
||||||
arh: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.0000
|
|
||||||
- os: linux
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.1000
|
|
||||||
- os: osx
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.0.0000
|
|
||||||
- os: osx
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.1.0000
|
|
||||||
- os: osx
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.0000
|
|
||||||
- os: osx
|
|
||||||
arch: ppc64le
|
|
||||||
env:
|
|
||||||
- VIM_VERSION=8.2.1000
|
|
||||||
before_install:
|
|
||||||
- curl https://raw.githubusercontent.com/kana/vim-version-manager/master/bin/vvm | python - setup; true
|
|
||||||
- source ~/.vvm/etc/login
|
|
||||||
- vvm update_itself
|
|
||||||
- vvm use vimorg--v$VIM_VERSION --install --with-features=huge
|
|
||||||
|
|
||||||
before_script: |
|
|
||||||
git clone https://github.com/junegunn/vader.vim.git
|
|
||||||
git clone https://github.com/vim-airline/vim-airline
|
|
||||||
find $PWD/autoload/airline/themes -name "*.vim" > themes.txt
|
|
||||||
|
|
||||||
script: |
|
|
||||||
vim --not-a-term -Nu <(cat << VIMRC
|
|
||||||
filetype off
|
|
||||||
set rtp+=vader.vim
|
|
||||||
set rtp+=vim-airline
|
|
||||||
set rtp+=.
|
|
||||||
set rtp+=after
|
|
||||||
filetype plugin indent on
|
|
||||||
syntax enable
|
|
||||||
VIMRC) -c 'Vader! test/*' > /dev/null
|
|
||||||
Reference in New Issue
Block a user