Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
koba-e964 authored Feb 1, 2022
1 parent b75a1d9 commit 82289d5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Erlang CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

build:

runs-on: ubuntu-latest
strategy:
matrix:
erlang-version:
- 21.0
- 20.3
- 19.3
- 18.3

container:
image: erlang:${{ matrix.erlang-version }}

steps:
- uses: actions/checkout@v2
- name: Compile
run: ./rebar3 compile
- name: Run tests
run: ./rebar3 do eunit, ct
- name: Run xref
run: ./rebar3 xref
- name: Run dialyzer
run: ./rebar3 dialyzer
- name: Run edoc
run: ./rebar3 as dev edoc

0 comments on commit 82289d5

Please sign in to comment.