-
Notifications
You must be signed in to change notification settings - Fork 13
63 lines (55 loc) · 1.56 KB
/
eunit.yaml
File metadata and controls
63 lines (55 loc) · 1.56 KB
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
53
54
55
56
57
58
59
60
61
62
63
name: Test
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
mac:
name: macOS (${{ matrix.os }} ${{ matrix.otp }})
strategy:
fail-fast: false
matrix:
include:
- otp: "27.3.4.2-6"
rebar3: "3.22.0"
os: macos-26
- otp: "28.2-2"
rebar3: "3.25.1"
os: macos-26
runs-on: ${{ matrix.os }}
steps:
- uses: emqx/macos-erlang@f744c98139c0db83a10619587d4bae4fc49765a8 # v1.0.0
with:
otp-version: ${{ matrix.otp }}
rebar3-version: ${{ matrix.rebar3 }}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive
- run: ./build.sh
- run: rebar3 eunit
linux:
name: linux (${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.builder.otp }})
strategy:
fail-fast: false
matrix:
os:
- ubuntu24.04
arch:
- amd64
- arm64
builder:
- vsn: "6.0-8:1.18.3-27.3.4.2-6"
otp: "27.3.4.2-6"
- vsn: "6.0-8:1.19.1-28.2-2"
otp: "28.2-2"
runs-on: ubuntu-24.04${{ matrix.arch == 'arm64' && '-arm' || '' }}
container: ghcr.io/emqx/emqx-builder/${{ matrix.builder.vsn }}-${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive
- run: git config --global --add safe.directory $GITHUB_WORKSPACE
- run: ./build.sh
- run: rebar3 eunit