-
Notifications
You must be signed in to change notification settings - Fork 25
45 lines (39 loc) · 992 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
37
38
39
40
41
42
43
name: Common Test
on:
pull_request:
branches:
- 'develop'
push:
branches:
- 'develop'
jobs:
linux:
name: Test on OTP ${{ matrix.combo.otp-version }} and ${{ matrix.combo.os }}
runs-on: ${{ matrix.combo.os }}
strategy:
fail-fast: false
matrix:
combo:
- os: 'ubuntu-latest'
otp-version: '24'
rebar3-version: '3.16'
- os: 'ubuntu-latest'
otp-version: '25'
rebar3-version: '3.16'
- os: 'ubuntu-latest'
otp-version: '26'
rebar3-version: '3.22.1'
steps:
- uses: GuillaumeFalourd/[email protected]
id: rsync
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.combo.otp-version }}
rebar3-version: ${{ matrix.combo.rebar3-version }}
- name: Update
run: rebar3 update
- name: Compile
run: make compile
- name: Test
run: make ci