Skip to content

Commit

Permalink
Added CMemCheck option for workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
scharlton2 authored May 9, 2024
1 parent 70a7676 commit 7e7ce80
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ on:
schedule:
- cron: '1 2 * * 2'
workflow_dispatch:
inputs:
CMemCheck:
description: 'CMemCheck: Uncheck to skip running the CMake valgrind tests'
required: false
default: true
type: boolean

jobs:
# check_files:
Expand Down Expand Up @@ -167,7 +173,7 @@ jobs:
run: ctest -S ctest.cmake -DCTEST_TEST_TIMEOUT=900

- name: CMemCheck (Linux)
if: runner.os == 'Linux' && github.event_name == 'schedule'
if: runner.os == 'Linux' && (github.event_name == 'schedule' || input.CMemCheck)
run: ctest -S cmemcheck.cmake -DCTEST_TEST_TIMEOUT=900

- name: Upload results
Expand Down

0 comments on commit 7e7ce80

Please # to comment.