CI - Fix cmake config step

This commit is contained in:
2021-09-25 17:20:38 +01:00
committed by GitHub
parent d4913ed2d2
commit 237bc1cc2e
+2 -2
View File
@@ -27,9 +27,9 @@ jobs:
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DUSE_WERROR=OFF
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -DUSE_WERROR=OFF
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}