1
0
Fork 0
qemu/tests/lcitool/libvirt-ci/containers/clang-format/README.rst
Daniel Baumann ea34ddeea6
Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:05 +02:00

29 lines
738 B
ReStructuredText

===================================================
Container for running clang-format code style check
===================================================
This container provides a simple way to invoke ``clang-format`` to validate
code style across a C codebase. It should be integrated into a CI by adding
the following flag in ``ci/manifest.yml``
::
gitlab:
jobs:
clang-format: true
or adding the following snippet to ``.gitlab-ci.yml``
::
clang-format:
stage: sanity_checks
image: registry.gitlab.com/libvirt/libvirt-ci/clang-format:latest
needs: []
script:
- /clang-format
artifacts:
paths:
- clang-format.patch
expire_in: 1 week
when: on_failure