File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 7272 else
7373 cmake --build --preset=${{ matrix.compiler }}-${{ matrix.build_type }}
7474 fi
75+ - name : Test
76+ if : ${{ matrix.build_type == 'Debug' }}
77+ shell : bash
78+ run : |
79+ if [ "${{ runner.os }}" == "Windows" ]; then
80+ ctest --preset=test-Windows-${{ matrix.compiler }}-${{ matrix.build_type }}
81+ else
82+ ctest --preset=test-${{ matrix.compiler }}-${{ matrix.build_type }}
83+ fi
7584
7685 format :
7786 name : Formatting
Original file line number Diff line number Diff line change 234234 {
235235 "name" : " test-Windows-msvc-Debug" ,
236236 "displayName" : " test-win-msvc-debug" ,
237- "description" : " Enable output and stop on failure" ,
238237 "inherits" : " test-common" ,
239238 "configurePreset" : " Windows-msvc-Debug"
240239 },
241240 {
242241 "name" : " test-Windows-llvm-Debug" ,
243242 "displayName" : " test-win-llvm-debug" ,
244- "description" : " Enable output and stop on failure" ,
245243 "inherits" : " test-common" ,
246244 "configurePreset" : " Windows-llvm-Debug"
245+ },
246+ {
247+ "name" : " test-llvm-Debug" ,
248+ "displayName" : " test-llvm-debug" ,
249+ "inherits" : " test-common" ,
250+ "configurePreset" : " llvm-Debug"
251+ },
252+ {
253+ "name" : " test-gcc-Debug" ,
254+ "displayName" : " test-gcc-debug" ,
255+ "inherits" : " test-common" ,
256+ "configurePreset" : " gcc-Debug"
247257 }
248258 ],
249259 "packagePresets" : [
You can’t perform that action at this time.
0 commit comments