mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-10 12:55:48 +01:00
Merge branch 'ci-fetch-submodules' into 'main'
ci: Manually fetch submodules for style-check CI jobs See merge request GNOME/glib!3494
This commit is contained in:
commit
4aa63defdf
@ -49,8 +49,18 @@ variables:
|
|||||||
- bash .gitlab-ci/show-execution-environment.sh
|
- bash .gitlab-ci/show-execution-environment.sh
|
||||||
- cp -r $HOME/subprojects/* subprojects/
|
- cp -r $HOME/subprojects/* subprojects/
|
||||||
|
|
||||||
style-check-advisory:
|
# FIXME: Work around https://gitlab.com/gitlab-org/gitlab/-/issues/391756
|
||||||
|
.only-default-with-git:
|
||||||
extends: .only-default
|
extends: .only-default
|
||||||
|
before_script:
|
||||||
|
- rm -rf subprojects/gvdb
|
||||||
|
- git submodule update --init --depth 1
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: "none"
|
||||||
|
GIT_SUBMODULE_DEPTH: 1
|
||||||
|
|
||||||
|
style-check-advisory:
|
||||||
|
extends: .only-default-with-git
|
||||||
image: $DEBIAN_IMAGE
|
image: $DEBIAN_IMAGE
|
||||||
stage: style-check
|
stage: style-check
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
@ -73,15 +83,12 @@ sh-and-py-check:
|
|||||||
- "**/*.sh"
|
- "**/*.sh"
|
||||||
|
|
||||||
style-check-mandatory:
|
style-check-mandatory:
|
||||||
extends: .only-default
|
extends: .only-default-with-git
|
||||||
image: $DEBIAN_IMAGE
|
image: $DEBIAN_IMAGE
|
||||||
stage: style-check
|
stage: style-check
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
script:
|
script:
|
||||||
- .gitlab-ci/run-reuse.sh
|
- .gitlab-ci/run-reuse.sh
|
||||||
variables:
|
|
||||||
# The submodules are needed for `reuse lint` to work properly
|
|
||||||
GIT_SUBMODULE_STRATEGY: "normal"
|
|
||||||
|
|
||||||
fedora-x86_64:
|
fedora-x86_64:
|
||||||
extends:
|
extends:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user