Skip to content

Commit 517f20b

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_WEBSOCKETS=no WITH_PERSISTENCE=no WITH_SRV=no ```
1 parent d3ee5c5 commit 517f20b

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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+
libssl-dev \
37+
libwrap0-dev \
38+
microsocks \
39+
python3-all \
40+
python3-paho-mqtt \
41+
python3-psutil \
42+
uthash-dev \
43+
xsltproc
44+
-
45+
uses: actions/checkout@v6
46+
with:
47+
submodules: 'true'
48+
-
49+
name: make
50+
run: |
51+
make \
52+
WITH_EDITLINE=no \
53+
WITH_HTTP_API=no \
54+
WITH_WEBSOCKETS=no \
55+
WITH_PERSISTENCE=no \
56+
WITH_SRV=no
57+
-
58+
name: make test
59+
run: |
60+
make ptest \
61+
WITH_EDITLINE=no \
62+
WITH_HTTP_API=no \
63+
WITH_WEBSOCKETS=no \
64+
WITH_PERSISTENCE=no \
65+
WITH_SRV=no

0 commit comments

Comments
 (0)