Skip to content

Commit

Permalink
CI: install Paho MQTT C library
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidB137 committed Mar 15, 2024
1 parent 0f69977 commit f95dc25
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ jobs:
- name: Install dependencies
run: sudo apt update && sudo apt-get install -y git make cmake

- name: Install Paho MQTT C library
run: |
git clone -b v1.3.13 https://github.com/eclipse/paho.mqtt.c.git /tmp/paho
mkdir /tmp/paho-build
cd /tmp/paho-build
cmake \
-DPAHO_WITH_SSL=TRUE \
-DPAHO_ENABLE_TESTING=FALSE \
-DPAHO_BUILD_SAMPLES=FALSE \
/tmp/paho
make
sudo make install
- name: Checkout
uses: actions/checkout@v3

Expand Down

0 comments on commit f95dc25

Please sign in to comment.