Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
strategy:
fail-fast: false
matrix:
otp: ['19.3', '21.3', 24]
runs-on: ubuntu-20.04
otp: ['20', '21', '22', '23', '24', '25', '26', '27']
runs-on: ubuntu-24.04
container:
image: erlang:${{ matrix.otp }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: rebar3 compile
- run: rebar3 xref
- run: rebar3 dialyzer
Expand All @@ -23,9 +23,13 @@ jobs:
cover:
name: Cover
needs: [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: '27'
rebar3-version: "3.24.0"
- run: ./configure --enable-gcov
- run: rebar3 compile
- name: Run tests to obtain Erlang coverage
Expand Down
1 change: 0 additions & 1 deletion src/stringprep.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
{modules, []},
{registered, []},
{applications, [kernel, stdlib, p1_utils]},
{mod, {stringprep_app,[]}},

%% hex.pm packaging:
{files, ["src/", "c_src/stringprep.cpp", "c_src/uni_data.c", "c_src/uni_norm.c", "configure", "rebar.config", "rebar.config.script", "vars.config.in", "README.md", "LICENSE.txt", "LICENCE.ALL", "LICENSE.TCL"]},
Expand Down
8 changes: 4 additions & 4 deletions src/stringprep.erl
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
%%%----------------------------------------------------------------------

-module(stringprep).
-on_load(load_nif/0).
-nifs([tolower/1, tolower_nofilter/1, nameprep/1, nodeprep/1, resourceprep/1]).

-author('alexey@process-one.net').

-compile(no_native).

-export([start/0, load_nif/0, tolower/1, nameprep/1,
nodeprep/1, resourceprep/1, tolower_nofilter/1]).
-export([start/0, tolower/1, nameprep/1,
nodeprep/1, resourceprep/1, tolower_nofilter/1]).

%%%===================================================================
%%% API functions
Expand Down
74 changes: 0 additions & 74 deletions src/stringprep_app.erl

This file was deleted.

40 changes: 0 additions & 40 deletions src/stringprep_sup.erl

This file was deleted.