drm_hwcomposer: CI: Use clang-11 for the CI
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
diff --git a/.gitlab-ci-checkcommit.sh b/.gitlab-ci-checkcommit.sh
index c1c524d..17fdbcc 100755
--- a/.gitlab-ci-checkcommit.sh
+++ b/.gitlab-ci-checkcommit.sh
@@ -50,7 +50,7 @@
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
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c97f4ff..79b053c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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