From facbaecf302dd1e78986da224db89a25e1d5f9cd Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 17 Nov 2020 14:05:26 +0400 Subject: [PATCH] Add -Werror to actions --- .github/workflows/linux.yml | 3 ++- .github/workflows/mac.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ef2a521e74..1caa8d3baa 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -102,7 +102,8 @@ jobs: fi ./configure.sh \ - -D CMAKE_CXX_FLAGS="-s" \ + -D CMAKE_C_FLAGS="-Werror -s" \ + -D CMAKE_CXX_FLAGS="-Werror -s" \ -D TDESKTOP_API_TEST=ON \ -D DESKTOP_APP_USE_PACKAGED=OFF \ -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \ diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 26a625dca8..94c164fcf4 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -515,6 +515,8 @@ jobs: fi ./configure.sh \ + -D CMAKE_C_FLAGS="-Werror" \ + -D CMAKE_CXX_FLAGS="-Werror" \ -D TDESKTOP_API_TEST=ON \ -D DESKTOP_APP_USE_PACKAGED=OFF \ -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \