blob: c197f62f67e79b562ac3738f5155d4f88516395b [file] [log] [blame]
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: test
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
otp:
- "24.3.3"
- "23.3.4.14"
- "22.3.4.26"
- "21.3.8.24"
- "20.3.8.26"
include:
- os: ubuntu-18.04
otp: "19.3.6.13"
- os: ubuntu-18.04
otp: "18.3.4.11"
steps:
- uses: actions/checkout@v2.3.2
- run: |
VERSION=${{matrix.otp}}
RELEASE=$(lsb_release -cs)
DIR=$(mktemp -d)
pushd $DIR
FILE=esl-erlang_$VERSION-1~ubuntu~$RELEASE\_amd64.deb
wget https://packages.erlang-solutions.com/erlang/debian/pool/$FILE
sudo dpkg -i $FILE
popd
rm -r $DIR
- run: make test