Skip to content

Commit

Permalink
Update for OpenRiak
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Oct 24, 2024
1 parent 7bdd27d commit 99ee884
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 50 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/build-test.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Erlang CI

on:
push:
branches:
- openriak-3.2
pull_request:
branches:
- openriak-3.2

jobs:

build:

name: Test on ${{ matrix.os }} with OTP ${{ matrix.otp }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
otp: [24]
os: [ubuntu-latest]

steps:
- uses: lukka/get-cmake@latest
- uses: actions/checkout@v4
- name: Install Erlang/OTP
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
- name: Compile
run: ./rebar3 compile
- name: Run xref and dialyzer
run: ./rebar3 do xref, dialyzer
- name: Run eunit
run: ./rebar3 as gha do eunit
4 changes: 2 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{xref_checks, [undefined_function_calls]}.

{deps, [{mochiweb, "3.2.1", {git, "https://github.com/mochi/mochiweb.git", {tag, "v3.2.1"}}}]}.
{deps, [{mochiweb, {git, "https://github.com/OpenRiak/mochiweb.git", {branch, "openriak-3.2"}}}]}.

{eunit_opts, [
no_tty,
Expand All @@ -15,7 +15,7 @@
{profiles,
[{test,
[{deps, [meck,
{ibrowse, "4.4.0"}
{ibrowse, {git, "https://github.com/OpenRiak/ibrowse.git", {branch, "openriak-3.2"}}}
]},
{erl_opts, [debug_info]}
]}
Expand Down
4 changes: 0 additions & 4 deletions rebar.lock

This file was deleted.

Binary file added rebar3
Binary file not shown.

0 comments on commit 99ee884

Please sign in to comment.