-
Notifications
You must be signed in to change notification settings - Fork 267
70 lines (66 loc) · 1.58 KB
/
main.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
name: Yaws-CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
make-check:
name: Check on OTP-${{matrix.otp}}
strategy:
fail-fast: false
matrix:
otp:
- "26.2"
- "26.1"
- "26.0"
- "25.3"
- "25.2"
- "25.1"
- "25.0"
- "24.3"
- "24.2"
- "24.1"
- "24.0"
- "23.3"
- "23.2"
- "23.1"
- "23.0"
- "22.3"
- "22.2"
- "22.1"
- "22.0"
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
- name: Setup Build
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get -y install autotools-dev build-essential make libpam0g-dev openssl wget curl cadaver #texlive-font-utils
- name: Build Yaws
run: |
autoreconf -vfi
./configure
make all -j4
- name: Deterministically Build Yaws
run: |
autoreconf -vfi
./configure --enable-deterministic-build --with-source-date-epoch=$EPOCHSECONDS
make all -j4
make all -j4
- name: Run test suite
run: |
make check
# Currently not working steps
# - name: Try document generation
# run: |
# make docs
# - name: Run dialyzer
# run: |
# make dialyzer