Commit 01689975 authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: add cmake

parent 42cebefd
Pipeline #21889 passed with stage
in 5 minutes and 43 seconds
......@@ -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" .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment