Skip to content

Merge pull request #4 from L4vlet/support-m1-compilation #27

Merge pull request #4 from L4vlet/support-m1-compilation

Merge pull request #4 from L4vlet/support-m1-compilation #27

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: OTP ${{matrix.otp}} / Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
matrix:
otp: [21, 22, 23, 24, 25, 26]
rust: [1.56.0, stable]
container:
image: erlang:${{matrix.otp}}
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Install Rust ${{matrix.rust}} toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.rust}}
override: true
- name: Check formatting
run: rebar3 fmt -c
- name: Compile
run: rebar3 compile
- name: Run dialyzer
run: rebar3 dialyzer