-
Notifications
You must be signed in to change notification settings - Fork 2.6k
58 lines (50 loc) · 1.07 KB
/
mosquitto-cmake.yml
File metadata and controls
58 lines (50 loc) · 1.07 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
name: Mosquitto - CMake
on:
workflow_dispatch:
push:
branches:
- master
- fixes
- develop
- release/*
tags:
- 'v[0-9]+.*'
pull_request:
branches:
- master
- fixes
- develop
- release/*
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Install third party dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
docbook-xsl \
lcov \
libargon2-dev \
libc-ares-dev \
libcjson-dev \
libcjson1 \
libcunit1-dev \
libssl-dev \
libwrap0-dev \
microsocks \
python3-all \
python3-paho-mqtt \
python3-psutil \
uthash-dev \
xsltproc
- uses: actions/checkout@v4
- run: cmake -E make_directory build
- run: |
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-S . \
-B build
- run: cmake --build build --parallel $(nproc)
- working-directory: build/
run: ctest --output-on-failure