Skip to content

Commit 3f11cc4

Browse files
committed
Github pipeline
1 parent 21fdee5 commit 3f11cc4

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/erlang.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Erlang CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
erlang: [ 25,26,27 ]
14+
15+
container:
16+
image: erlang:${{ matrix.erlang }}
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- run: rebar3 compile
21+
22+
test:
23+
runs-on: ubuntu-latest
24+
strategy:
25+
matrix:
26+
erlang: [ 25,26,27 ]
27+
28+
container:
29+
image: erlang:${{ matrix.erlang }}
30+
31+
steps:
32+
- uses: actions/checkout@v2
33+
- run: rebar3 eunit
34+
35+
36+
verify:
37+
runs-on: ubuntu-latest
38+
strategy:
39+
matrix:
40+
erlang: [ 25,26,27 ]
41+
42+
container:
43+
image: erlang:${{ matrix.erlang }}
44+
45+
steps:
46+
- uses: actions/checkout@v2
47+
- run: rebar3 proper

0 commit comments

Comments
 (0)