Skip to content

Linux: fix Github link #10

Linux: fix Github link

Linux: fix Github link #10

Workflow file for this run

name: Build Linux library and binaries
on:
push:
branches: ["*"]
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- 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
- name: Configure
run: cd linux && mkdir build && cd build && cmake ..
- name: Build
run: cd linux/build && make
- name: Install to system
run: cd linux/build && sudo make install