Skip to content

Commit

Permalink
Merge pull request basho#20 from basho/develop-gha-otp25
Browse files Browse the repository at this point in the history
OTP 25
  • Loading branch information
martinsumner authored Dec 21, 2022
2 parents 951f6da + 5f9655a commit 0a176b5
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 17 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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: Compile
run: ./rebar3 compile
- name: Run xref and dialyzer
run: ./rebar3 do xref, dialyzer
- name: Run eunit
run: ./rebar3 as gha do eunit
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.eunit/*
priv/*
*.o
*.d
*.beam
_build
rebar.lock
4 changes: 0 additions & 4 deletions .hgignore

This file was deleted.

6 changes: 0 additions & 6 deletions .hgtags

This file was deleted.

6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

{plugins, [pc]}.

{profiles, [
{gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]}
]}.

{provider_hooks,
[
{pre,
Expand Down
1 change: 0 additions & 1 deletion rebar.lock

This file was deleted.

Binary file modified rebar3
Binary file not shown.

0 comments on commit 0a176b5

Please sign in to comment.