From 910fb3a7319ab8108678338a291f69ced189e11c Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 8 Apr 2026 18:27:46 +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..163f388 --- /dev/null +++ b/.github/workflows/ci-downstream.yml @@ -0,0 +1,24 @@ +name: CI Downstream - LT Streaming Legacy + +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 Legacy + 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 2f7aa9a..3bb8586 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,10 @@ cmake_dependent_option( 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 2a7d1bf1fd3d0fe3d5ad892308e63b8093115ec7 Mon Sep 17 00:00:00 2001 From: Aliaksandr Adziareika <8034372+alexadereyko@users.noreply.github.com> Date: Wed, 15 Apr 2026 17:34:13 +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 163f388..f68187f 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 Legacy - 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: >