Skip to content

Commit ee9cc76

Browse files
committed
Add a workflow with some features disabled
Build and test with a collection of options that have in practice resulted in test failures: ``` WITH_EDITLINE=no WITH_HTTP_API=no WITH_PERSISTENCE=no WITH_SRV=no WITH_TLS=no WITH_TLS_PSK=no WITH_WEBSOCKETS=no ``` Signed-off-by: Matt Turner <mattst88@gmail.com>
1 parent 289a953 commit ee9cc76

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Mosquitto - Make (reduced features)
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
- fixes
9+
- develop
10+
- release/*
11+
tags:
12+
- 'v[0-9]+.*'
13+
pull_request:
14+
branches:
15+
- master
16+
- fixes
17+
- develop
18+
- release/*
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Install third party dependencies
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y \
29+
docbook-xsl \
30+
lcov \
31+
libargon2-dev \
32+
libcjson-dev \
33+
libcjson1 \
34+
libcunit1-dev \
35+
libgmock-dev \
36+
microsocks \
37+
python3-all \
38+
python3-paho-mqtt \
39+
python3-psutil \
40+
uthash-dev \
41+
xsltproc
42+
-
43+
uses: actions/checkout@v6
44+
with:
45+
submodules: 'true'
46+
-
47+
name: make
48+
run: |
49+
make \
50+
WITH_EDITLINE=no \
51+
WITH_HTTP_API=no \
52+
WITH_PERSISTENCE=no \
53+
WITH_SRV=no \
54+
WITH_TLS=no \
55+
WITH_TLS_PSK=no \
56+
WITH_WEBSOCKETS=no
57+
-
58+
name: make test
59+
run: |
60+
make ptest \
61+
WITH_EDITLINE=no \
62+
WITH_HTTP_API=no \
63+
WITH_PERSISTENCE=no \
64+
WITH_SRV=no \
65+
WITH_TLS=no \
66+
WITH_TLS_PSK=no \
67+
WITH_WEBSOCKETS=no

0 commit comments

Comments
 (0)