Skip to content

Commit 7647ce3

Browse files
committed
Update for OpenRiak
1 parent c6cbda8 commit 7647ce3

File tree

6 files changed

+51
-27
lines changed

6 files changed

+51
-27
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/erlang.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Erlang CI
2+
3+
on:
4+
push:
5+
branches:
6+
- openriak-3.2
7+
pull_request:
8+
branches:
9+
- openriak-3.2
10+
11+
jobs:
12+
13+
build:
14+
15+
name: Test on ${{ matrix.os }} with OTP ${{ matrix.otp }}
16+
runs-on: ${{ matrix.os }}
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
otp: [24, 26]
22+
os: [ubuntu-latest]
23+
24+
steps:
25+
- uses: lukka/get-cmake@latest
26+
- uses: actions/checkout@v4
27+
- name: Install Erlang/OTP
28+
uses: erlef/setup-beam@v1
29+
with:
30+
otp-version: ${{ matrix.otp }}
31+
- name: Compile
32+
run: ./rebar3 compile
33+
- name: Run xref and dialyzer
34+
run: ./rebar3 do xref, dialyzer
35+
- name: Run eunit
36+
run: ./rebar3 as gha do eunit

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ erl_crash.dump
1111
/.eunit
1212
_build
1313
xtest
14+
a.config
15+
b.config
16+
c.config

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ __Authors:__ Ulf Wiger ([`ulf@wiger.net`](mailto:ulf@wiger.net)).
66

77
Generic setup utility for Erlang-based systems
88

9-
[![Build Status](https://github.com/uwiger/setup/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/uwiger/setup/actions/workflows/ci.yml)
10-
9+
![Setup OpenRiak Status](https://github.com/OpenRiak/setup/actions/workflows/erlang.yml/badge.svg?branch=openriak-3.2)
1110

1211
## Introduction ##
1312

rebar.config

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
%% -*- mode: erlang; erlang-indent-level: 4; indent-tabs-mode: nil -*-
2-
{minimum_otp_vsn, "21.0"}.
2+
{minimum_otp_vsn, "22.0"}.
33
{erl_opts, [debug_info]}.
4+
{xref_checks, [
5+
undefined_function_calls,
6+
undefined_functions,
7+
locals_not_used,
8+
deprecated_function_calls,
9+
deprecated_functions
10+
]}.
11+
12+
{eunit_opts, [verbose]}.
413
{profiles,
514
[
15+
{gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]},
616
{doc, [
717
{deps, [{edown, "0.8.4"}]},
818
{edoc_opts, [{doclet, edown_doclet},

rebar3

259 KB
Binary file not shown.

0 commit comments

Comments
 (0)