Skip to content

Commit 926facf

Browse files
authored
Merge pull request #6 from InsightSoftwareConsortium/add-ctest-options
ENH: Add parameter to set cxx test options
2 parents 68f1414 + 1d6a1d8 commit 926facf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-test-cxx.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
cmake-options:
77
required: false
88
type: string
9+
ctest-options:
10+
required: false
11+
type: string
912
itk-cmake-options:
1013
required: false
1114
type: string
@@ -130,11 +133,11 @@ jobs:
130133
- name: Build and test
131134
if: matrix.os != 'windows-2019'
132135
run: |
133-
ctest --output-on-failure -j 2 -V -S dashboard.cmake
136+
ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }}
134137
135138
- name: Build and test
136139
if: matrix.os == 'windows-2019'
137140
run: |
138141
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
139-
ctest --output-on-failure -j 2 -V -S dashboard.cmake
142+
ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }}
140143
shell: cmd

0 commit comments

Comments
 (0)