From 9ede725b04f58b9430e14473cba35ad65c50737b Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 31 May 2020 08:34:18 +0200 Subject: [PATCH] GIT_SILENT: add cmake --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cfc0641..b601c9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ build_clazy_clang_tidy: before_script: - echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list - apt-get update - - apt-get install --yes --no-install-recommends ninja-build clazy clang clang-tidy python python3-yaml libkf5crash-dev libkf5purpose-dev libegl-dev jq + - apt-get install --yes --no-install-recommends ninja-build clazy cmake clang clang-tidy python python3-yaml libkf5crash-dev libkf5purpose-dev libegl-dev jq script: - srcdir=`pwd` && mkdir -p /tmp/pim_build && cd /tmp/pim_build && CC=clang CXX=clazy CXXFLAGS="-Werror -Wno-deprecated-declarations" cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja $srcdir && cat compile_commands.json | jq '[.[] | select(.file | contains("'"$srcdir"'"))]' > compile_commands.aux.json && cat compile_commands.aux.json | jq '[.[] | select(.file | contains("/synctex/")| not)]' > compile_commands.json && cp "$srcdir/.clang-tidy" .