OSDN Git Service

drm_hwcomposer: CI: Use clang-11 for the CI
authorRoman Stratiienko <r.stratiienko@gmail.com>
Thu, 25 Feb 2021 16:33:26 +0000 (18:33 +0200)
committerRoman Stratiienko <r.stratiienko@gmail.com>
Wed, 3 Mar 2021 10:14:01 +0000 (12:14 +0200)
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
.gitlab-ci-checkcommit.sh
.gitlab-ci.yml

index c1c524d..17fdbcc 100755 (executable)
@@ -50,7 +50,7 @@ git log --pretty='%h' FETCH_HEAD..HEAD | while read h; do
                exit 1
        fi
 
-       git show "$h" -- | clang-format-diff-5.0 -p 1 -style=file > format-fixup.patch
+       git show "$h" -- | clang-format-diff-11 -p 1 -style=file > format-fixup.patch
        if [ -s  format-fixup.patch ]; then
                cat format-fixup.patch >&2
                exit 1
index c97f4ff..79b053c 100644 (file)
@@ -1,8 +1,8 @@
-image: ubuntu:16.04
+image: ubuntu:20.04
 
 before_script:
   - apt-get --quiet update --yes >/dev/null
-  - apt-get --quiet install --yes clang-format-5.0 git >/dev/null
+  - apt-get --quiet install --yes clang-11 clang-tidy-11 clang-format-11 git >/dev/null
 
 stages:
   - style