Skip to content
Closed
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
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
ref: ${{ github.event.inputs.branch || github.event.client_payload.branch || github.ref }}

- name: Configure project with CMake
run: cmake -B build/output -S . -G "${{ matrix.generator }}" -DDAQMODULES_LT_STREAMING_ENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release
run: cmake -B build/output -S . -G "${{ matrix.generator }}" -DDAQMODULES_LT_STREAMING_ENABLE_TESTS=ON -DDAQMODULES_LT_STREAMING_DEBUG_WARNINGS_AS_ERRORS=ON -DCMAKE_BUILD_TYPE=Release

- name: Build project with CMake
run: cmake --build build/output --config Release
Expand Down Expand Up @@ -97,5 +97,13 @@ jobs:
run: cmake --build build/output --config Debug

- name: Run project tests with CMake
if: matrix.os != 'windows-latest'
working-directory: module
run: ctest --test-dir build/output --output-on-failure -C Debug
run: ctest --test-dir build/output --output-on-failure -C Release

- name: Run project tests with CMake
if: matrix.os == 'windows-latest'
working-directory: module/build/output
run: |
$env:PATH="${{ env.INSTALL_PREFIX }}/lib;$env:PATH"
ctest --output-on-failure -C Release
Loading