mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56:14 +01:00
ci: Setup submodules and subprojects before building on dist
Also handle a permission issue.
This commit is contained in:
parent
f622a4ed53
commit
99c2b4e499
@ -562,6 +562,11 @@ dist-job:
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
# Ignore extra git security checks as we don't care in CI.
|
||||
- git config --global --add safe.directory "${PWD}"
|
||||
- git submodule update --init
|
||||
- for m in $(git submodule foreach -q 'echo $path'); do git config --global --add safe.directory "${PWD}/${m}"; done
|
||||
- meson subprojects download
|
||||
- meson ${MESON_COMMON_OPTIONS} --buildtype release -Dgtk_doc=true -Dman=true _build
|
||||
- cd _build
|
||||
- ninja dist
|
||||
|
Loading…
Reference in New Issue
Block a user