File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,19 @@ jobs:
5959 vcpkg --x-wait-for-lock integrate install
6060 vcpkg --x-wait-for-lock install
6161
62+ - name : Pre Build
63+ run : >
64+ cmake.exe
65+ -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
66+ -DCMAKE_BUILD_TYPE=Debug
67+ -DCMAKE_C_COMPILER=cl
68+ -DCMAKE_CXX_COMPILER=cl
69+ -S${{ github.workspace }} -B${{ github.workspace }}/build/default -G "Unix Makefiles"
70+
6271 - name : Build
6372 run : |
64- cmake --preset windows -B build
65- cmake --build build --verbose
73+ cmake --build build/default
6674
6775 - name : Test
6876 run : |
69- make test
77+ ctest -- test-dir C:/Users/gonza/devel/gon/algorithm-exercises-c/build/default
Original file line number Diff line number Diff line change 1919 "CMAKE_C_COMPILER" : " cl" ,
2020 "CMAKE_CXX_COMPILER" : " cl"
2121 },
22- "generator" : " Ninja " ,
22+ "generator" : " MinGW Makefiles " ,
2323 "binaryDir" : " ${sourceDir}/build/default"
2424 }
2525 ]
You can’t perform that action at this time.
0 commit comments