Skip to content

Commit a53d78a

Browse files
committed
CI: Treat warnings as errors for MSCV build and for clang-tidy
1 parent 0f907bf commit a53d78a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/clang-tidy/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ runs:
55

66
steps:
77
- name: Run clang-tidy
8-
run: run-clang-tidy-17 -q -p build
8+
run: run-clang-tidy-17 -q -p build -warnings-as-errors=\*
99
shell: bash

.github/actions/win-cmake/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
shell: bash
1010

1111
- name: Configure
12-
run: cmake -LA .. -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_TESTS=ON -DBoost_USE_STATIC_LIBS=ON
12+
run: cmake -LA .. -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_TESTS=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DBoost_USE_STATIC_LIBS=ON
1313
shell: bash
1414
working-directory: build
1515

0 commit comments

Comments
 (0)