gitlab-ci: add check to verify po/LINGUAS is correctly maintained
This commit is contained in:
@@ -27,13 +27,13 @@ include:
|
|||||||
.fedora:
|
.fedora:
|
||||||
variables:
|
variables:
|
||||||
# Update this tag when you want to trigger a rebuild
|
# Update this tag when you want to trigger a rebuild
|
||||||
FDO_DISTRIBUTION_TAG: '2022-02-16.0'
|
FDO_DISTRIBUTION_TAG: '2022-10-03.0'
|
||||||
FDO_DISTRIBUTION_VERSION: '35'
|
FDO_DISTRIBUTION_VERSION: '35'
|
||||||
# findutils: used by the .build script below
|
# findutils: used by the .build script below
|
||||||
# dbus-devel: required by pipewire
|
# dbus-devel: required by pipewire
|
||||||
# dbus-daemon: required by GDBus unit tests
|
# dbus-daemon: required by GDBus unit tests
|
||||||
# pip, doxygen: required for documentation
|
# pip, doxygen: required for documentation
|
||||||
# ShellCheck: required by the CI
|
# ShellCheck, diffutils: required by the CI
|
||||||
FDO_DISTRIBUTION_PACKAGES: >-
|
FDO_DISTRIBUTION_PACKAGES: >-
|
||||||
findutils
|
findutils
|
||||||
gcc
|
gcc
|
||||||
@@ -47,6 +47,7 @@ include:
|
|||||||
python3-pip
|
python3-pip
|
||||||
doxygen
|
doxygen
|
||||||
ShellCheck
|
ShellCheck
|
||||||
|
diffutils
|
||||||
# install Sphinx and Breathe to generate documentation
|
# install Sphinx and Breathe to generate documentation
|
||||||
# also install glib2-doc (required to make documentation links to GLib work)
|
# also install glib2-doc (required to make documentation links to GLib work)
|
||||||
# manually, to remove the 'tsflags=nodocs' flag that is enabled by default
|
# manually, to remove the 'tsflags=nodocs' flag that is enabled by default
|
||||||
@@ -282,6 +283,19 @@ shellcheck:
|
|||||||
script:
|
script:
|
||||||
- shellcheck $(git grep -l "#\!/.*bin/.*sh")
|
- shellcheck $(git grep -l "#\!/.*bin/.*sh")
|
||||||
|
|
||||||
|
linguas_check:
|
||||||
|
extends:
|
||||||
|
- .fedora
|
||||||
|
- .not_coverity
|
||||||
|
- .fdo.distribution-image@fedora
|
||||||
|
stage: analysis
|
||||||
|
script:
|
||||||
|
- cd po
|
||||||
|
- cat LINGUAS | sort > LINGUAS.sorted
|
||||||
|
- ls *.po | sed s/.po//g | sort > LINGUAS.new
|
||||||
|
- diff -u LINGUAS.sorted LINGUAS.new
|
||||||
|
- rm -f LINGUAS.*
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
extends:
|
extends:
|
||||||
- .not_coverity
|
- .not_coverity
|
||||||
|
Reference in New Issue
Block a user