feat: add plugins for zsh
This commit is contained in:
34
.zsh/zsh-fzf-tab/.github/workflows/linux.yaml
vendored
Normal file
34
.zsh/zsh-fzf-tab/.github/workflows/linux.yaml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: test on linux
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: install zsh
|
||||
run: sudo apt-get install -y zsh
|
||||
|
||||
- name: test completion
|
||||
run: cd test && zsh -f runtests.zsh fzftab.ztst
|
||||
|
||||
- name: build binary module
|
||||
run: zsh -fc 'source ./fzf-tab.zsh && build-fzf-tab-module'
|
||||
|
||||
- name: test binary module
|
||||
run: cd test && zsh -f runtests.zsh fzftab.ztst
|
||||
|
||||
30
.zsh/zsh-fzf-tab/.github/workflows/macos.yaml
vendored
Normal file
30
.zsh/zsh-fzf-tab/.github/workflows/macos.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: test on macOS
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- run: brew install autoconf automake libtool
|
||||
|
||||
# FIXME: test on macOS
|
||||
#- name: test completion
|
||||
# run: cd test && zsh -f runtests.zsh fzftab.ztst
|
||||
|
||||
- name: build binary module
|
||||
run: zsh -fc 'source ./fzf-tab.zsh && build-fzf-tab-module'
|
||||
|
||||
#- name: test binary module
|
||||
# run: cd test && zsh -f runtests.zsh fzftab.ztst
|
||||
45
.zsh/zsh-fzf-tab/.github/workflows/zsh.yaml
vendored
Normal file
45
.zsh/zsh-fzf-tab/.github/workflows/zsh.yaml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
name: test on different zsh versions
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# TODO: test fzf version?
|
||||
zsh_version:
|
||||
- 5.3.1
|
||||
- 5.4.2
|
||||
- 5.5.1
|
||||
- 5.6.2
|
||||
- 5.7.1
|
||||
- 5.8
|
||||
- 5.9
|
||||
container:
|
||||
image: zshusers/zsh:${{ matrix.zsh_version }}
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: install dependencies
|
||||
run: apt update && apt-get install -y git build-essential autoconf libncurses-dev
|
||||
|
||||
- name: test completion
|
||||
run: cd test && zsh -f runtests.zsh fzftab.ztst
|
||||
|
||||
- name: build binary module
|
||||
run: zsh -fc 'source ./fzf-tab.zsh && build-fzf-tab-module'
|
||||
|
||||
- name: test binary module
|
||||
run: cd test && zsh -f runtests.zsh fzftab.ztst
|
||||
|
||||
Reference in New Issue
Block a user