mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 07:58:44 +02:00
Merge branch 'reuse-regressions-ci' into 'main'
ci: Add a CI check for REUSE-compliant licensing/copyright headers See merge request GNOME/glib!3051
This commit is contained in:
@@ -13,7 +13,7 @@ cache:
|
||||
variables:
|
||||
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v19"
|
||||
COVERITY_IMAGE: "registry.gitlab.gnome.org/gnome/glib/coverity:v7"
|
||||
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v13"
|
||||
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v14"
|
||||
MINGW_IMAGE: "registry.gitlab.gnome.org/gnome/glib/mingw:v9"
|
||||
MESON_TEST_TIMEOUT_MULTIPLIER: 4
|
||||
G_MESSAGES_DEBUG: all
|
||||
@@ -49,7 +49,7 @@ variables:
|
||||
- bash .gitlab-ci/show-execution-environment.sh
|
||||
- cp -r $HOME/subprojects/* subprojects/
|
||||
|
||||
style-check-diff:
|
||||
style-check-advisory:
|
||||
extends: .only-default
|
||||
image: $DEBIAN_IMAGE
|
||||
stage: style-check
|
||||
@@ -72,6 +72,17 @@ sh-and-py-check:
|
||||
- "**/*.py"
|
||||
- "**/*.sh"
|
||||
|
||||
style-check-mandatory:
|
||||
extends: .only-default
|
||||
image: $DEBIAN_IMAGE
|
||||
stage: style-check
|
||||
allow_failure: false
|
||||
script:
|
||||
- .gitlab-ci/run-reuse.sh
|
||||
variables:
|
||||
# The submodules are needed for `reuse lint` to work properly
|
||||
GIT_SUBMODULE_STRATEGY: "normal"
|
||||
|
||||
fedora-x86_64:
|
||||
extends:
|
||||
- .build-linux
|
||||
@@ -608,7 +619,7 @@ pages:
|
||||
stage: deploy
|
||||
only:
|
||||
- main
|
||||
needs: ['coverage', 'style-check-diff']
|
||||
needs: ['coverage', 'style-check-advisory']
|
||||
script:
|
||||
- mv _coverage/ public/
|
||||
artifacts:
|
||||
|
Reference in New Issue
Block a user