ci: Use --wrap-mode=default on macOS CI runner (only)

This is a partial revert of commit 595e12b5fb for macOS only, since we
can’t run a VM image on that CI runner, and hence can’t easily
pre-populate it with cached dependencies.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-01-20 15:30:44 +00:00
parent 03380a4928
commit df0610aa55

View File

@ -366,7 +366,13 @@ macos:
- export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH - export PATH=/Users/gitlabrunner/Library/Python/3.7/bin:$PATH
script: script:
# FIXME: Add --werror # 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:
# - https://gitlab.gnome.org/GNOME/glib/merge_requests/388
# - https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/225
- meson ${MESON_COMMON_OPTIONS} - meson ${MESON_COMMON_OPTIONS}
--wrap-mode=default
_build _build
- ninja -C _build - ninja -C _build
# FIXME: Multiple unit tests currently fails # FIXME: Multiple unit tests currently fails