From faa8053802f9d655667abe591261822dc5e66700 Mon Sep 17 00:00:00 2001 From: Antonio Cardace Date: Fri, 25 Sep 2020 16:08:59 +0200 Subject: [PATCH] gitlab-ci: add clang-format test on fedora 33 which run clang-format 11 Signed-off-by: Antonio Cardace --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 273404082f..65dfe15b9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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