Skip to content

Commit

Permalink
set warning as error in the test job
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Dec 21, 2022
1 parent 3ad6546 commit cfeaa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: pip3 install cmake-format

- name: Configure CMake
run: cmake . -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja -DBUILD_TESTING=ON
run: cmake . -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja -DBUILD_TESTING=ON -DCMAKE_CXX_FLAGS='-Werror'

- name: Check code formatting
run: cmake --build build --target check-format
Expand Down

0 comments on commit cfeaa1c

Please sign in to comment.