From 190419bbf147b2e28e4d704196a9aa0e7c754585 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Sat, 28 May 2022 16:40:03 +0100 Subject: [PATCH] Add github actions --- .github/workflows/erlang.yml | 26 ++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/erlang.yml diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml new file mode 100644 index 00000000..2f3ac686 --- /dev/null +++ b/.github/workflows/erlang.yml @@ -0,0 +1,26 @@ +name: Erlang CI + +on: + push: + branches: [ develop-3.0 ] + pull_request: + branches: [ develop-3.0 ] + + +jobs: + + build: + + runs-on: ubuntu-latest + + container: + image: erlang:22.3.3 + + steps: + - uses: actions/checkout@v2 + - name: Compile + run: ./rebar3 compile + - name: Run xref and dialyzer + run: ./rebar3 do xref, dialyzer + - name: Run eunit + run: ./rebar3 do eunit diff --git a/.gitignore b/.gitignore index 10b75f93..b2a8c592 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ c_src/system .rebar _build .DS_Store +rebar.lock