ci: Instruct gitlab to checkout submodules

... instead of doing it in the script.

This will become important when we switch to a CI image with an
updated meson version that no longer checks out submodules as
part of the dist command.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/237>
This commit is contained in:
Florian Müllner
2022-07-10 23:04:08 +02:00
parent faaa66eb3f
commit bb5869f8df

View File

@@ -132,8 +132,8 @@ fedora-build:
stage: build
needs:
- build-fedora-container
before_script:
- git submodule update --init
variables:
GIT_SUBMODULE_STRATEGY: normal
script:
- meson setup build --werror -Dextension_set=all -Dclassic_mode=true
- meson compile -C build
@@ -150,8 +150,8 @@ fedora-dist:
stage: deploy
needs:
- fedora-build
before_script:
- git submodule update --init
variables:
GIT_SUBMODULE_STRATEGY: normal
script:
- meson dist -C build
rules: