-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from basho/develop-gha-otp25
Develop gha otp25
- Loading branch information
Showing
5 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Erlang CI | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
otp: | ||
- "25.1" | ||
- "24.3" | ||
- "22.3" | ||
|
||
container: | ||
image: erlang:${{ matrix.otp }} | ||
|
||
steps: | ||
- uses: lukka/get-cmake@latest | ||
- uses: actions/checkout@v2 | ||
- name: Pre-Compile | ||
run: apt-get update && apt-get install -y libpam0g-dev | ||
- name: Compile | ||
run: ./rebar3 compile | ||
- name: Run xref and dialyzer | ||
run: ./rebar3 do xref, dialyzer | ||
- name: Run eunit | ||
run: ./rebar3 as gha do eunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ deps/* | |
priv/* | ||
ebin/* | ||
_build | ||
rebar.lock |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{deps, [ | ||
{canola, {git, "https://github.com/basho/canola", {tag, "2.1.0"}}} | ||
{canola, {git, "https://github.com/basho/canola", {branch, "develop"}}} | ||
]}. | ||
|
||
{profiles, [ | ||
{gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]} | ||
]}. | ||
|
||
{xref_checks,[locals_not_used,deprecated_function_calls, deprecated_functions]}. |
This file was deleted.
Oops, something went wrong.