From b891266d698e30da2a28c1ae0415e8c1cbeaac9b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 17 Nov 2021 15:43:59 +0000 Subject: [PATCH] ci: Enable --werror on macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no compiler warnings when building on macOS CI at the moment, so let’s keep it that way by turning any future ones into errors. Signed-off-by: Philip Withnall --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df16fa06e..ec76291f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -436,7 +436,6 @@ macos: - pip3 install --user ninja - export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH script: - # FIXME: Add --werror # FIXME: Use --wrap-mode=default so we download dependencies each time, # until the macOS runner is a VM where we can use a pre-made image which # already contains the dependencies. See: @@ -444,6 +443,7 @@ macos: # - https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/225 - meson ${MESON_COMMON_OPTIONS} --wrap-mode=default + --werror _build - ninja -C _build # FIXME: Multiple unit tests currently fails