-
Notifications
You must be signed in to change notification settings - Fork 13
37 lines (31 loc) · 922 Bytes
/
cicd.yml
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
name: ci/cd
on:
push:
branches: [ main, 'release/**', 'task/**', 'feature/**', 'epic/**']
tags: ['**']
pull_request:
branches: [ main, 'release/**', 'task/**', 'feature/**', 'epic/**']
jobs:
build:
name: Build on OTP ${{ matrix.otp_version }} / ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
# otp_version: [19, 20] Removed due to an incompatibility with rebar3_lfe
otp_version: [21, 22, 23, 24, 25, 26]
os: [ubuntu-latest]
container:
image: erlang:${{ matrix.otp_version }}
steps:
- uses: actions/checkout@v2
- name: Check rebar3 Version
run: DEBUG=1 rebar3 --version
- name: Compile
run: rebar3 compile
- name: Xref Check
continue-on-error: true
run: rebar3 xref
- name: Run Tests
run: rebar3 as test eunit
- name: Run Tests (ltest runner)
run: make check-runner-ltest