Skip to content

Commit

Permalink
turn on warning-as-error on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Sep 16, 2024
1 parent 636cf11 commit 8a78cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ echo "install prefix: ${BUILD_ROOT}/dist"
mkdir ${BUILD_ROOT}/dist
CMAKE_OPTIONS="$CMAKE_OPTIONS -DCMAKE_INSTALL_PREFIX=${BUILD_ROOT}/dist"

# turn on warnings-as-errors
CMAKE_OPTIONS="$CMAKE_OPTIONS -DCMAKE_COMPILE_WARNING_AS_ERROR=1"


if [ ! -z "$FUZZER" ] && [ "$CURRENT_OS" = "linux" ]; then
export ASAN_SYMBOLIZER="$BUILD_ROOT/clang/bin/llvm-symbolizer"
Expand Down

0 comments on commit 8a78cee

Please sign in to comment.