-
Notifications
You must be signed in to change notification settings - Fork 100
48 lines (41 loc) · 1.08 KB
/
linux.yaml
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
name: Linux compability
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: ["ubuntu:latest", "archlinux:latest"]
container:
image: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: install dependencies
run:
case "${{ matrix.os }}" in
"ubuntu:latest")
sudo apt-get install -y zsh git curl build-essential autoconf libncurses-dev
;;
"archlinux:latest")
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm zsh base-devel git
;;
*)
;;
esac
- 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