-
Notifications
You must be signed in to change notification settings - Fork 455
42 lines (42 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
37
38
39
40
41
42
---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: >
Run Linux-based checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
container:
image: erlang:${{matrix.otp_vsn}}
options: --user 1001
strategy:
matrix:
otp_vsn: [21.3, 22.3, 23.3, 24.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- run: rebar3 dialyzer
- run: rebar3 eunit
ci-windows:
name: >
Run Windows-based checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
otp_vsn: [23.2, 24]
os: [windows-latest]
rebar3_vsn: ['3.16']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp_vsn}}
rebar3-version: ${{matrix.rebar3_vsn}}
- run: rebar3 dialyzer
- run: rebar3 eunit