-
Notifications
You must be signed in to change notification settings - Fork 100
44 lines (37 loc) · 1.05 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
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: |
if [ "${{ matrix.os }}" = "ubuntu:latest" ]; then
apt-get update
apt-get install -y zsh git curl build-essential autoconf libncurses-dev
elif [ "${{ matrix.os }}" = "archlinux:latest" ]; then
pacman -Syu --noconfirm
pacman -S --noconfirm zsh base-devel git
fi
- 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