gitlab-ci: print the used clang-format version in "check-tree" test
This is the authorative version that we shall use for formatting our code. Print the version in the test.
This commit is contained in:
@@ -57,11 +57,11 @@ variables:
|
|||||||
#
|
#
|
||||||
# This is done by running `ci-fairy generate-template` and possibly bumping
|
# This is done by running `ci-fairy generate-template` and possibly bumping
|
||||||
# ".default_tag".
|
# ".default_tag".
|
||||||
ALPINE_TAG: 'tag-3c44b17230c3'
|
ALPINE_TAG: 'tag-d53edbf2ebdd'
|
||||||
CENTOS_TAG: 'tag-a6311164b42c'
|
CENTOS_TAG: 'tag-c374af7add25'
|
||||||
DEBIAN_TAG: 'tag-7f291c2d3f4d'
|
DEBIAN_TAG: 'tag-2ded62f40aeb'
|
||||||
FEDORA_TAG: 'tag-a6311164b42c'
|
FEDORA_TAG: 'tag-c374af7add25'
|
||||||
UBUNTU_TAG: 'tag-7f291c2d3f4d'
|
UBUNTU_TAG: 'tag-2ded62f40aeb'
|
||||||
|
|
||||||
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
||||||
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
||||||
@@ -865,6 +865,8 @@ check-tree:
|
|||||||
- "tier1:fedora:38@prep"
|
- "tier1:fedora:38@prep"
|
||||||
stage: tier1
|
stage: tier1
|
||||||
script:
|
script:
|
||||||
|
- date '+%Y%m%d-%H%M%S'; clang-format --version
|
||||||
|
- date '+%Y%m%d-%H%M%S'; black --version
|
||||||
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
||||||
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
|
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
|
||||||
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
||||||
|
@@ -203,6 +203,8 @@ check-tree:
|
|||||||
- "tier{{default_distro.tier}}:{{default_distro.name}}:{{default_distro.versions[0]}}@prep"
|
- "tier{{default_distro.tier}}:{{default_distro.name}}:{{default_distro.versions[0]}}@prep"
|
||||||
stage: tier1
|
stage: tier1
|
||||||
script:
|
script:
|
||||||
|
- date '+%Y%m%d-%H%M%S'; clang-format --version
|
||||||
|
- date '+%Y%m%d-%H%M%S'; black --version
|
||||||
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
|
||||||
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
|
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
|
||||||
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
|
||||||
|
Reference in New Issue
Block a user