From 48955f863d70216f9f233e84ec527598159372d7 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 24 May 2022 23:31:33 +0300 Subject: [PATCH] ci: Do not werror on deprecations This often blocks updating the base image of the CI since we have to wait to port away from all the deprecated apis each time. That's work that is done independantly usually and blocking image updates, means that more regressions that would have got caught by the newer toolchain sneak past and get merged. Deprecations will still show up when developing locally. Part-of: --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80b310458d..5eb699c16f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,10 @@ variables: WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH" WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH" + _BUILD_IGNORE_DEPRECATIONS: > + -Dc_args="-Wno-error=deprecated-declarations" + -Dcpp_args="-Wno-error=deprecated-declarations" + DEFAULT_MESON_ARGS: >- -Dlibnice:tests=disabled -Dlibnice:examples=disabled @@ -278,7 +282,7 @@ commitlint: fi - echo $ARGS - date -R - - meson setup build/ $(echo ${ARGS}) + - meson setup build/ ${_BUILD_IGNORE_DEPRECATIONS} $(echo ${ARGS}) - date -R - ninja -C build/ - date -R