-
Notifications
You must be signed in to change notification settings - Fork 21
72 lines (62 loc) · 1.38 KB
/
ci.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
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
64
65
66
67
68
69
70
71
72
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC
jobs:
ubuntu:
name: Test on Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
otp: ["24", "25", "26"]
fail-fast: false
container:
image: erlang:${{ matrix.otp }}
env:
ERL_LIBS: './'
steps:
- uses: actions/checkout@v4
- name: Checkout Proper
uses: actions/checkout@v4
with:
repository: proper-testing/proper
path: "./proper"
- name: Run test
run: |
make
make tests
macos:
name: Test on MacOS
runs-on: macos-latest
strategy:
matrix:
otp: ["24", "25", "26"]
fail-fast: false
env:
ERL_LIBS: './'
steps:
- uses: actions/checkout@v4
- name: Brew Version Check
run: brew --version
- name: Keep Brew Fresh
run: brew update
- name: Install Erlang
run: brew install erlang@${{ matrix.otp }}
- name: Brew Link
run: brew link erlang@${{ matrix.otp }} --force
- name: Checkout Proper
uses: actions/checkout@v4
with:
repository: proper-testing/proper
path: "./proper"
- name: Run test
run: |
make
make tests