1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

gitlab-ci: Treat Doxygen warnings as error

This commit is contained in:
Nick Wellnhofer
2025-05-02 20:32:57 +02:00
parent 2c150e62f5
commit c8d1b7bae0
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ install:
- sh .gitlab-ci/install.sh
variables:
CFLAGS: "-O2"
DOXYGEN_WARN_AS_ERROR: "FAIL_ON_WARNINGS"
artifacts:
expire_in: 2 hrs
paths:

View File

@@ -9,6 +9,7 @@ HIDE_UNDOC_CLASSES = YES
HIDE_SCOPE_NAMES = YES
SHOW_INCLUDE_FILES = NO
WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = $(DOXYGEN_WARN_AS_ERROR)
INPUT = $(SOURCE_ROOT)README.md \
$(SOURCE_ROOT)include/libxml/c14n.h \
$(SOURCE_ROOT)include/libxml/catalog.h \