Skip to content

Add lapack libs to OTP 26 cross-compilation #192

Add lapack libs to OTP 26 cross-compilation

Add lapack libs to OTP 26 cross-compilation #192

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-20.04
name: Erlang ${{matrix.otp}} / rebar ${{matrix.rebar3}}
strategy:
matrix:
otp: ['23', '24', '25', '26']
rebar3: ['3']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{ matrix.otp == '23' && '3.20.0' || matrix.rebar3 }}
- uses: actions/cache@v2
env:
cache-name: rebar3
with:
path: |
~/.cache/rebar3
_build
key: ci-${{runner.os}}-${{env.cache-name}}-otp_${{matrix.otp}}-rebar_${{matrix.rebar3}}-${{hashFiles('rebar.lock')}}
restore-keys: |
ci-${{runner.os}}-${{env.cache-name}}-otp_${{matrix.otp}}-rebar_${{matrix.rebar3}}
ci-${{runner.os}}-${{env.cache-name}}-otp_${{matrix.otp}}
- name: Compile
run: rebar3 do clean, compile
- name: Test
run: rebar3 eunit
- name: Analyze
run: rebar3 dialyzer