Skip to content

Commit

Permalink
OTP 25 support
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Dec 21, 2022
1 parent cdde6fe commit 076be16
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 25 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,34 @@ name: Erlang CI

on:
push:
branches: [ develop-3.0 ]
branches: [ develop ]
pull_request:
branches: [ develop-3.0 ]
branches: [ develop ]


jobs:

build:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
otp:
- "25.1"
- "24.3"
- "22.3"

container:
image: erlang:22.3.3
image: erlang:${{ matrix.otp }}

steps:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Run tests
run: rebar3 do xref, dialyzer, eunit
- 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
17 changes: 0 additions & 17 deletions .thumbs.yml

This file was deleted.

4 changes: 4 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{minimum_otp_vsn, "22.0"}.
{erl_opts, [
debug_info,
warnings_as_errors,
Expand All @@ -10,3 +11,6 @@
]}.
{xref_checks, [undefined_function_calls, deprecated_function_calls]}.
{eunit_opts, [verbose]}.
{profiles, [
{gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]}
]}.
Binary file modified rebar3
Binary file not shown.

0 comments on commit 076be16

Please sign in to comment.