-
Notifications
You must be signed in to change notification settings - Fork 82
47 lines (39 loc) · 884 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Run Tests
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
test:
runs-on: ubuntu-20.04
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp: [22.3.4.9, 23.3.4.5, 24.3.3, 25.3]
emacs: [27.1] # 24.5, 26.3,
steps:
- name: Install Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs}}
- name: Install Erlang
id: install_erlang
uses: sebastiw/setup-erlang@main
with:
otp-version: ${{matrix.otp}}
- name: Add Erlang to Path
run: |
echo "ERL_PATH=/usr/lib/erlang" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Compile
run: make
- name: Test
run: make test