Skip to content

Commit 7c7b380

Browse files
Removes usage of Experimental (interactive) mode in ctest. It is not working well in the Github Actions
1 parent 47fd4fd commit 7c7b380

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/cmake.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,27 +103,19 @@ jobs:
103103
-D BUILD_SHARED_LIBS:BOOL=ON
104104
105105
- name: Build
106-
working-directory: ${{github.workspace}}/build
107106
# Execute tests defined by the CMake configuration.
108107
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
109-
run: |
110-
ctest -D ExperimentalStart
111-
ctest -D ExperimentalConfigure
112-
ctest -D ExperimentalBuild --verbose
108+
run: cmake --build build --config ${{env.BUILD_TYPE}}
113109

114110
- name: Test with OpenMP
115111
working-directory: ${{github.workspace}}/build
116112
if: ${{ contains( matrix.fflags, 'openmp' ) && (matrix.os != 'windows-latest') }}
117-
run: |
118-
ctest -D ExperimentalTest --schedule-random -j1 --output-on-failure --timeout 100
119-
ctest -D ExperimentalSubmit
113+
run: ctest -C ${{env.BUILD_TYPE}} --schedule-random -j1 --output-on-failure --timeout 100
120114

121115
- name: Test
122116
working-directory: ${{github.workspace}}/build
123117
if: ${{ !contains( matrix.fflags, 'openmp' ) && (matrix.os != 'windows-latest') }}
124-
run: |
125-
ctest -D ExperimentalTest --schedule-random -j2 --output-on-failure --timeout 100
126-
ctest -D ExperimentalSubmit
118+
run: ctest -C ${{env.BUILD_TYPE}} --schedule-random -j2 --output-on-failure --timeout 100
127119

128120
- name: Install
129121
run: cmake --build build --target install -j2

0 commit comments

Comments
 (0)