From d7f5051063d9f5a4e3c3652bd780c9ece60d8cc2 Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 8 Apr 2026 18:37:21 +0200 Subject: [PATCH 1/2] Add call unified reusable workflow --- .github/workflows/ci-downstream.yml | 24 ++++++++++++++++++++++++ CMakeLists.txt | 4 ++++ CMakePresets.json | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 .github/workflows/ci-downstream.yml diff --git a/.github/workflows/ci-downstream.yml b/.github/workflows/ci-downstream.yml new file mode 100644 index 0000000..4e6dfbf --- /dev/null +++ b/.github/workflows/ci-downstream.yml @@ -0,0 +1,24 @@ +name: CI Downstream - LT Streaming Modern + +on: + workflow_dispatch: + inputs: + opendaq-ref: + description: "openDAQ SDK commit, branch or tag" + required: false + default: "" + pull_request: + +jobs: + call-opendaq-reusable: + name: LT Streaming Modern + uses: openDAQ/openDAQ-CI/.github/workflows/reusable.yml@jira/TBBAS-3031-reusable-ci + with: + opendaq-ref: ${{ github.event.inputs.opendaq-ref || '' }} + cmake-presets: > + [ + { + "configure-preset": "module", + "test-preset": "module-test" + } + ] diff --git a/CMakeLists.txt b/CMakeLists.txt index baff016..a3c56f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,10 @@ option(${REPO_OPTION_PREFIX}_ENABLE_SERVER "Enable ${REPO_NAME} server module" $ opendaq_common_compile_targets_settings() opendaq_setup_compiler_flags(${REPO_OPTION_PREFIX}) +if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10) + add_compile_options(-Wno-unknown-warning-option) +endif() + if (${REPO_OPTION_PREFIX}_ENABLE_TESTS) message(STATUS "Unit tests in ${REPO_NAME} are ENABLED") enable_testing() diff --git a/CMakePresets.json b/CMakePresets.json index 99c8a24..e492ee0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -217,6 +217,20 @@ "intel-llvm", "ninja" ] + }, + { + "name": "module", + "hidden": true, + "cacheVariables": { + "DAQMODULES_LT_STREAMING_ENABLE_TESTS": "ON" + } + } + ], + "testPresets": [ + { + "name": "module-test", + "hidden": true, + "configurePreset": "module" } ] } From 8b18bca51ea2d8d6fd75289a502fbe5e76cc9302 Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 15 Apr 2026 17:35:54 +0200 Subject: [PATCH 2/2] Change unified workflow ref @v1 --- .github/workflows/ci-downstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-downstream.yml b/.github/workflows/ci-downstream.yml index 4e6dfbf..d54d780 100644 --- a/.github/workflows/ci-downstream.yml +++ b/.github/workflows/ci-downstream.yml @@ -12,7 +12,7 @@ on: jobs: call-opendaq-reusable: name: LT Streaming Modern - uses: openDAQ/openDAQ-CI/.github/workflows/reusable.yml@jira/TBBAS-3031-reusable-ci + uses: openDAQ/openDAQ-CI/.github/workflows/reusable.yml@v1 with: opendaq-ref: ${{ github.event.inputs.opendaq-ref || '' }} cmake-presets: >