File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
2424 - uses : actions/checkout@v4
2525
2626 - name : Configure CMake
27- # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make .
27+ # Configure CMake in a 'build' subdirectory. Visual Studio is a multi-config generator, so we don't use CMAKE_BUILD_TYPE .
2828 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
29- run : cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} - DCXX_STD=${{ matrix.cxx_std }}
29+ run : cmake -B build -DCXX_STD=${{ matrix.cxx_std }}
3030
3131 - name : Build
3232 working-directory : build
33- run : cmake --build . -- /p:CL_MPcount=4
33+ run : cmake --build . --config ${{ env.BUILD_TYPE }} -- /p:CL_MPcount=4
3434
3535 - name : Test
3636 working-directory : build/test
You can’t perform that action at this time.
0 commit comments