-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (46 loc) · 1.04 KB
/
eunit.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
48
49
50
51
52
name: Test
on:
- push
- pull_request
- workflow_dispatch
jobs:
mac:
strategy:
fail-fast: false
matrix:
otp:
- 26.1.2-1
os:
- macos-14
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ./.github/actions/macos-erlang
with:
otp: ${{ matrix.otp }}
os: ${{ matrix.os }}
- run: |
. $HOME/.kerl/${{ matrix.otp }}/activate
./build.sh
rebar3 eunit
linux:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
builder:
- 5.3-8
otp:
- 26.2.5-2
elixir:
- 1.15.7
os:
- ubuntu24.04
container: ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
- run: ./build.sh
- run: rebar3 eunit