File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 steps :
5050 - uses : actions/checkout@v4
5151
52- - name : Configure CMake
52+ - name : Configure CMake (Visual Studio)
53+ if : ${{ matrix.cpp_compiler == 'cl' }}
54+ # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
55+ # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
56+ run : >
57+ cmake
58+ -S .
59+ -B build
60+ -G "Visual Studio 17 2022"
61+ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
62+ -DPAINFUL_CPP_STRING_CONVERSION_ENABLE_TEST=ON
63+
64+ - name : Configure CMake (Ninja)
65+ if : ${{ matrix.cpp_compiler != 'cl' }}
5366 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
5467 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
5568 run : >
You can’t perform that action at this time.
0 commit comments