Normalize logging verbosity #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |