summaryrefslogtreecommitdiff
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-29 11:16:27 -0400
committerBrad King <brad.king@kitware.com>2022-09-29 11:19:42 -0400
commit9c8c96543558d7d3e0a1065f5421b28f810a85ee (patch)
tree225110e98ca01dea276825c3929ed76c51113bb7 /.gitlab/ci
parentcadcb6a5f0e1ebaefd74f8c52151e410c57cfa96 (diff)
downloadcmake-9c8c96543558d7d3e0a1065f5421b28f810a85ee.tar.gz
ci: Revert "add clang-tidy to Debian x86_64 base image"
Revert commit 0ac9ec47f6 (ci: add clang-tidy to Debian x86_64 base image, 2022-09-20). Our clang-tidy job runs under Fedora, and we need the plugin to compile there anyway, so lints like IWYU will best be done in the Fedora image. Issue: #23912
Diffstat (limited to '.gitlab/ci')
-rw-r--r--.gitlab/ci/docker/debian10/Dockerfile3
-rwxr-xr-x.gitlab/ci/docker/debian10/install_clang_tidy.sh21
2 files changed, 0 insertions, 24 deletions
diff --git a/.gitlab/ci/docker/debian10/Dockerfile b/.gitlab/ci/docker/debian10/Dockerfile
index 3ebee876bf..34a4bf14fd 100644
--- a/.gitlab/ci/docker/debian10/Dockerfile
+++ b/.gitlab/ci/docker/debian10/Dockerfile
@@ -16,9 +16,6 @@ MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>
COPY install_deps.sh /root/install_deps.sh
RUN sh /root/install_deps.sh
-COPY install_clang_tidy.sh /root/install_clang_tidy.sh
-RUN sh /root/install_clang_tidy.sh
-
COPY --from=iwyu-build /root/iwyu.tar.gz /root/iwyu.tar.gz
RUN tar -C / -xf /root/iwyu.tar.gz
RUN ln -s /usr/lib/llvm-6.0/bin/include-what-you-use /usr/bin/include-what-you-use-6.0
diff --git a/.gitlab/ci/docker/debian10/install_clang_tidy.sh b/.gitlab/ci/docker/debian10/install_clang_tidy.sh
deleted file mode 100755
index 1280f1edd4..0000000000
--- a/.gitlab/ci/docker/debian10/install_clang_tidy.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# clang-tidy headers
-apt-get install -y \
- gnupg2
-GNUPGHOME=$(mktemp -d)
-export GNUPGHOME
-keyid=6084F3CF814B57C1CF12EFD515CF4D18AF4F7421
-gpg2 --keyserver hkps://keyserver.ubuntu.com --recv-keys "$keyid"
-gpg2 -o /usr/share/keyrings/llvm.gpg --export "$keyid"
-rm -rf "$GNUPGHOME"
-unset GNUPGHOME
-echo 'deb [signed-by=/usr/share/keyrings/llvm.gpg] http://apt.llvm.org/buster/ llvm-toolchain-buster-14 main' > /etc/apt/sources.list.d/llvm.list
-apt-get update
-apt-get install -y \
- clang-tidy-14 \
- libclang-14-dev
-
-apt-get clean