mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Don't treat compiler warnings as errors by default
So that new warnings don't cause issues for library consumers. Instead use CMake's CMAKE_COMPILE_WARNING_AS_ERROR option to treat them as errors in CI.
This commit is contained in:
@@ -193,6 +193,7 @@ jobs:
|
||||
run: |
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=${{ env.CMAKE_CONFIG }} \
|
||||
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
|
||||
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" \
|
||||
-DCPACK_THREADS=0 \
|
||||
-DRUST_TARGET="${{ matrix.target.triple }}" \
|
||||
@@ -205,6 +206,7 @@ jobs:
|
||||
run: |
|
||||
cmake -G "Visual Studio 17 2022" `
|
||||
-A ${{ matrix.target.platform }} `
|
||||
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON `
|
||||
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" `
|
||||
-DCPACK_THREADS=0 `
|
||||
-DRUST_TARGET="${{ matrix.target.triple }}" `
|
||||
|
||||
Reference in New Issue
Block a user