Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
56a23a80
Commit
56a23a80
authored
Sep 16, 2020
by
Albert Astals Cid
Browse files
CI: fix build_clazy_clang_tidy
parent
290b070f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
56a23a80
...
...
@@ -32,7 +32,7 @@ build_clazy_clang_tidy:
-
echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
-
apt-get update
-
apt-get build-dep --yes --no-install-recommends okular
-
apt-get install --yes --no-install-recommends ninja-build clazy clang clang-tidy
python
libkf5crash-dev libkf5purpose-dev libegl-dev jq
-
apt-get install --yes --no-install-recommends ninja-build clazy clang clang-tidy libkf5crash-dev libkf5purpose-dev libegl-dev jq
script
:
-
srcdir=`pwd` && mkdir -p /tmp/okular_build && cd /tmp/okular_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