summaryrefslogtreecommitdiff
path: root/.github/actions/linux-build/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/linux-build/action.yml')
-rw-r--r--.github/actions/linux-build/action.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml
index 739be23420..7218239cc2 100644
--- a/.github/actions/linux-build/action.yml
+++ b/.github/actions/linux-build/action.yml
@@ -101,6 +101,8 @@ runs:
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \
+ -DCMAKE_C_FLAGS="-Werror" \
+ -DCMAKE_CXX_FLAGS="-Werror" \
-DBUILD_TESTING="ON" \
-DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
-DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \