Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KBlog
Commits
e2e46455
Commit
e2e46455
authored
May 31, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GIT_SILENT: add cmake
parent
4e474054
Pipeline
#21890
passed with stage
in 4 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
e2e46455
...
...
@@ -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" .
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment