Skip to content

Commit

Permalink
Merge pull request #7 from basho/develop-gha-otp25
Browse files Browse the repository at this point in the history
Develop gha otp25
  • Loading branch information
martinsumner authored Dec 21, 2022
2 parents 0945ef1 + 6a0b788 commit c9b88ea
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 13 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/erlang.yml
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ deps/*
priv/*
ebin/*
_build
rebar.lock
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

6 changes: 5 additions & 1 deletion rebar.config
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]}.
4 changes: 0 additions & 4 deletions rebar.lock

This file was deleted.

0 comments on commit c9b88ea

Please sign in to comment.