[glib/wip/pwithnall/macos-yet-again] ci: Ensure git submodules are updated before running macOS CI
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/pwithnall/macos-yet-again] ci: Ensure git submodules are updated before running macOS CI
- Date: Thu, 30 Jun 2022 00:33:10 +0000 (UTC)
commit dc2c769d5c9b08de7014b954627149f9662d9f7b
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Jun 30 01:31:02 2022 +0100
ci: Ensure git submodules are updated before running macOS CI
Since the macOS CI jobs are run on a machine which isn’t using a
pre-made container image, we can’t ship a cached version of the
subproject, so it has to be pulled as a git submodule.
GitLab doesn’t do that by default unless you set
`GIT_SUBMODULE_STRATEGY` to something other than `none`.
See https://docs.gitlab.com/ee/ci/git_submodules.html
Signed-off-by: Philip Withnall <pwithnall endlessos org>
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0195ed30fc..8fe839a758 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -435,6 +435,8 @@ macos:
tags:
- macos
needs: []
+ variables:
+ GIT_SUBMODULE_STRATEGY: normal
before_script:
- bash .gitlab-ci/show-execution-environment.sh
- pip3 install --user meson==0.60.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]