Skip to content

Add INCLUDE_LOG to remove logs from build #440

Add INCLUDE_LOG to remove logs from build

Add INCLUDE_LOG to remove logs from build #440

Workflow file for this run

name: Build example
on:
push:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: make example
run: make
working-directory: example
- name: make proto example
run: make
working-directory: example/linux/proto-api
- name: install needed packages libpaho-mqtt
run: sudo apt-get update && sudo apt-get install -y libpaho-mqtt-dev libgtest-dev
- name: make gateway example
run: make
working-directory: example/linux/gw-example
- name: make test
run: make
working-directory: test
build-with-cmake:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: build example
run: |
cmake -S . -B cbuild
cmake --build cbuild
working-directory: example
- name: make proto example
run: |
cmake -S . -B cbuild
cmake --build cbuild
working-directory: example/linux/proto-api
- name: install needed packages libpaho-mqtt
run: sudo apt-get update && sudo apt-get install -y libpaho-mqtt-dev
- name: build gateway example
run: |
cmake -S . -B cbuild
cmake --build cbuild
working-directory: example/linux/gw-example
- name: build test
run: |
cmake -S . -B cbuild
cmake --build cbuild
working-directory: test