-
Notifications
You must be signed in to change notification settings - Fork 203
36 lines (34 loc) · 996 Bytes
/
ci.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
name: CI
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
tmux_version:
- "2.6"
- "2.7"
- "2.8"
- "2.9a"
- "3.0a"
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
- name: Check out the code
uses: actions/checkout@v1
- name: Install Tmux ${{ matrix.tmux_version }}
run: |
sudo apt-get update
sudo apt-get install -y bc build-essential libevent-dev libncurses5-dev
wget https://github.com/tmux/tmux/releases/download/${{ matrix.tmux_version }}/tmux-${{ matrix.tmux_version }}.tar.gz
tar -zxf tmux-${{ matrix.tmux_version }}.tar.gz
cd tmux-${{ matrix.tmux_version }}
./configure && make && sudo make install
cd ..
- name: Run all tests
env:
TMUX_VERSION: ${{ matrix.tmux_version }}
run: make test