Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci-downstream.yml
Original file line number Diff line number Diff line change
@@ -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:
Comment thread
alexadereyko marked this conversation as resolved.

jobs:
call-opendaq-reusable:
name: LT Streaming Legacy
uses: openDAQ/openDAQ-CI/.github/workflows/reusable.yml@v1
with:
opendaq-ref: ${{ github.event.inputs.opendaq-ref || '' }}
cmake-presets: >
[
{
"configure-preset": "module",
"test-preset": "module-test"
}
]
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
14 changes: 14 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Loading