Просмотр исходного кода

ci: Add additional compiler errors

In order to improve code quality and catch defects, this removes manual error toggles and turns all -Wall and -Wextra warnings into errors in the CI.
Djordje Nedic 2 лет назад
Родитель
Сommit
66d7056bdc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .gitlab-ci.yml

+ 1 - 1
.gitlab-ci.yml

@@ -27,7 +27,7 @@ variables:
     - build
     - internet
   variables:
-    PEDANTIC_FLAGS: "-Werror -Werror=deprecated-declarations -Werror=unused-variable -Werror=unused-but-set-variable -Werror=unused-function"
+    PEDANTIC_FLAGS: "-Werror=all -Werror=extra"
     EXTRA_CFLAGS: "${PEDANTIC_FLAGS}"
     EXTRA_CXXFLAGS: "${PEDANTIC_FLAGS}"
   script: