Skip to content

Commit 190419b

Browse files
committed
Add github actions
1 parent 64f8f0c commit 190419b

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/erlang.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Erlang CI
2+
3+
on:
4+
push:
5+
branches: [ develop-3.0 ]
6+
pull_request:
7+
branches: [ develop-3.0 ]
8+
9+
10+
jobs:
11+
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
container:
17+
image: erlang:22.3.3
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Compile
22+
run: ./rebar3 compile
23+
- name: Run xref and dialyzer
24+
run: ./rebar3 do xref, dialyzer
25+
- name: Run eunit
26+
run: ./rebar3 do eunit

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ c_src/system
1313
.rebar
1414
_build
1515
.DS_Store
16+
rebar.lock

0 commit comments

Comments
 (0)