Skip to content

Commit 73bdef8

Browse files
committed
. e switch to ctest and cmake --build
1 parent 347f3f3 commit 73bdef8

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/build-and-test-visual-studio-solutions.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ jobs:
2222

2323
- name: build
2424
run: |
25+
cd visual-studio-2019
2526
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
26-
msbuild /p:Configuration=Debug visual-studio-2019/StarterProject2019.sln
27-
msbuild /p:Configuration=Release visual-studio-2019/StarterProject2019.sln
28-
msbuild /p:Platform=x86 /p:Configuration=Debug visual-studio-2019/StarterProject2019.sln
29-
msbuild /p:Platform=x86 /p:Configuration=Release visual-studio-2019/StarterProject2019.sln
27+
cmake --build .
3028
shell: cmd
3129

3230
- name: test
3331
run: |
34-
visual-studio-2019\x64\Debug\StarterProject2019.exe
35-
visual-studio-2019\x64\Release\StarterProject2019.exe
36-
visual-studio-2019\Debug\StarterProject2019.exe
37-
visual-studio-2019\Release\StarterProject2019.exe
32+
cd visual-studio-2019
33+
ctest . -C debug

0 commit comments

Comments
 (0)