ci: Pass --wrap-mode=nodownload to every task

The CI should not waste resources in downloading subprojects for each
task. It should also not rely on external hosts to be available.

Windows case will be handled in MR #402 by migrating to docker.
This commit is contained in:
Xavier Claessens 2020-01-13 11:49:01 -05:00
parent 5f99781d70
commit 595e12b5fb

View File

@ -16,7 +16,7 @@ variables:
MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v2" MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v2"
MESON_TEST_TIMEOUT_MULTIPLIER: 2 MESON_TEST_TIMEOUT_MULTIPLIER: 2
G_MESSAGES_DEBUG: all G_MESSAGES_DEBUG: all
MESON_COMMON_OPTIONS: "--buildtype debug --fatal-meson-warnings" MESON_COMMON_OPTIONS: "--buildtype debug --fatal-meson-warnings --wrap-mode=nodownload"
.only-default: .only-default:
only: only:
@ -432,7 +432,7 @@ dist-job:
only: only:
- tags - tags
script: script:
- meson --buildtype release --fatal-meson-warnings -Dgtk_doc=true -Dman=true _build - meson ${MESON_COMMON_OPTIONS} --buildtype release -Dgtk_doc=true -Dman=true _build
- cd _build - cd _build
- ninja dist - ninja dist
- ninja glib-doc gobject-doc gio-doc - ninja glib-doc gobject-doc gio-doc