[glib/wip/pwithnall/macos-werror: 7/7] ci: Enable --werror on macOS
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/macos-werror: 7/7] ci: Enable --werror on macOS
- Date: Thu, 18 Nov 2021 14:10:30 +0000 (UTC)
commit faca9d392813556f08596bfb6e38e2270e8532b3
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Nov 17 15:43:59 2021 +0000
ci: Enable --werror on macOS
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 <pwithnall endlessos org>
.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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]