File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ jobs:
2929 ref : ${{ github.event.inputs.branch || github.event.client_payload.branch || github.ref }}
3030
3131 - name : Configure project with CMake
32- run : cmake -B build/output -S . -G "${{ matrix.generator }}" -DTODO_ENABLE_TESTS =ON -DCMAKE_BUILD_TYPE=Debug
32+ run : cmake -B build/output -S . -G "${{ matrix.generator }}" -DOPENDAQ_MQTT_ENABLE_TESTS =ON -DCMAKE_BUILD_TYPE=Debug
3333
3434 - name : Build project with CMake
3535 run : cmake --build build/output --config Debug
3636
3737 - name : Install and run mosquitto Linux
3838 if : matrix.os == 'ubuntu-latest'
3939 run : |
40- sudo apt-get install -y --no-install-recommends # TODO add mosquitto package name
40+ sudo apt-get install -y --no-install-recommends mosquitto
4141 # TODO mosquitto run cmds
4242
4343 - name : Install and run mosquitto Windows
Original file line number Diff line number Diff line change @@ -63,6 +63,10 @@ endif()
6363
6464set (MQTT_MODULE_VERSION "0.1.0" CACHE STRING "MQTT module version" FORCE )
6565
66+ if (OPENDAQ_MQTT_ENABLE_TESTS)
67+ enable_testing ()
68+ endif ()
69+
6670add_subdirectory (external )
6771add_subdirectory (shared )
6872add_subdirectory (modules )
You can’t perform that action at this time.
0 commit comments