diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml new file mode 100644 index 0000000..3eb5907 --- /dev/null +++ b/.github/workflows/erlang.yml @@ -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, 26] + 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 diff --git a/README.md b/README.md index b82499a..b0191c6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -[![Build Status](https://travis-ci.org/massemanet/redbug.svg?branch=master)](https://travis-ci.org/massemanet/redbug) - +![Redbug OpenRiak Status](https://github.com/OpenRiak/redbug/actions/workflows/erlang.yml/badge.svg?branch=openriak-3.2) # DESCRIPTION diff --git a/rebar3 b/rebar3 new file mode 100755 index 0000000..a83d554 Binary files /dev/null and b/rebar3 differ