gitlab-ci: add clang-format test on fedora 33 which run clang-format 11

Signed-off-by: Antonio Cardace <acardace@redhat.com>
This commit is contained in:
Antonio Cardace 2020-09-25 16:08:59 +02:00
parent 419be5d0e7
commit faa8053802
No known key found for this signature in database
GPG key ID: 6BF80ABD43E377D3

View file

@ -87,6 +87,18 @@ checkpatch:
paths:
- checkpatch-out.txt
code-style:
image: fedora:33
stage: test
script:
- date '+%Y%m%d-%H%M%S'; dnf install -y git which clang
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh 2>&1 | tee nm-code-format-out.txt
allow_failure: true
artifacts:
when: on_failure
paths:
- nm-code-format-out.txt
t_fedora:28:
<<: *fedora_install
image: fedora:28