diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-15 20:44:46 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-16 09:58:23 +0200 |
commit | ca2a2a4dd1271541017cd6ab382b671c0c893641 (patch) | |
tree | b243db348dc8cb334aa200ef7c41ffe1c190f91a | |
parent | 646fbbbef1f70fec0e1717b7993a4c2b4c5bac2f (diff) | |
download | tmwa-ca2a2a4dd1271541017cd6ab382b671c0c893641.tar.gz tmwa-ca2a2a4dd1271541017cd6ab382b671c0c893641.tar.bz2 tmwa-ca2a2a4dd1271541017cd6ab382b671c0c893641.tar.xz tmwa-ca2a2a4dd1271541017cd6ab382b671c0c893641.zip |
Use GIT_SUBMODULE_STRATEGY instead of manual updating
This way it also applies to all jobs.
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f049110..5bfe6a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ variables: &base_vars # Depth of clone. If no tag is made after this many commits, then # the git describe call and version header generation will fail. GIT_DEPTH: 100 # Will break again eventually. + GIT_SUBMODULE_STRATEGY: normal .prerequisites: &prerequisites before_script: @@ -25,7 +26,6 @@ re:ubuntu1804-attoconf:build: INSTALL_PACKAGES: python3 script: - echo "Building TMW Athena $CI_BUILD_NAME" - - git submodule update --init - git fetch -t - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - mkdir build-atto @@ -47,7 +47,6 @@ re:ubuntu2204-attoconf:build: <<: *base_vars INSTALL_PACKAGES: python3 script: - - git submodule update --init - git fetch -t - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - mkdir build-atto @@ -69,7 +68,6 @@ re:ubuntu2204:build: <<: *base_vars INSTALL_PACKAGES: python3 cmake script: - - git submodule update --init - git fetch -t - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - mkdir build-cmake |