Skip to content

Commit

Permalink
. e switch to ctest and cmake --build
Browse files Browse the repository at this point in the history
  • Loading branch information
Laguna1989 committed Mar 26, 2024
1 parent 347f3f3 commit 73bdef8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-and-test-visual-studio-solutions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:

- name: build
run: |
cd visual-studio-2019
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
msbuild /p:Configuration=Debug visual-studio-2019/StarterProject2019.sln
msbuild /p:Configuration=Release visual-studio-2019/StarterProject2019.sln
msbuild /p:Platform=x86 /p:Configuration=Debug visual-studio-2019/StarterProject2019.sln
msbuild /p:Platform=x86 /p:Configuration=Release visual-studio-2019/StarterProject2019.sln
cmake --build .
shell: cmd

- name: test
run: |
visual-studio-2019\x64\Debug\StarterProject2019.exe
visual-studio-2019\x64\Release\StarterProject2019.exe
visual-studio-2019\Debug\StarterProject2019.exe
visual-studio-2019\Release\StarterProject2019.exe
cd visual-studio-2019
ctest . -C debug

0 comments on commit 73bdef8

Please sign in to comment.