Skip to content

Merge pull request #576 from ryderside/master #44

Merge pull request #576 from ryderside/master

Merge pull request #576 from ryderside/master #44

Workflow file for this run

---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: >
Run Linux-based checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
container:
image: erlang:${{matrix.otp_vsn}}
options: --user 1001
strategy:
matrix:
otp_vsn: [21.3, 22.3, 23.3, 24.0]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- run: rebar3 dialyzer
- run: rebar3 eunit
ci-windows:
name: >
Run Windows-based checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
otp_vsn: [23.2, 24]
os: [windows-latest]
rebar3_vsn: ['3.16']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp_vsn}}
rebar3-version: ${{matrix.rebar3_vsn}}
- run: rebar3 dialyzer
- run: rebar3 eunit