diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc58de5a7f8fea415813550347455507fe089ff6..b1403bc0ac642e8e56b98941056fe13a298cdd67 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,4 +61,26 @@ benchmark_ClangBuildAnalyzer: - ClangBuildAnalyzer --start . - make - ClangBuildAnalyzer --stop . CBA - - ClangBuildAnalyzer --analyze CBA \ No newline at end of file + - ClangBuildAnalyzer --analyze CBA + + +benchmark_Include_what_you_use: + stage: deploy + + before_script: + - export DEBIAN_FRONTEND=noninteractive + - apt-get update + - $CXX --version + - cd /tmp + - git clone https://github.com/include-what-you-use/include-what-you-use.git + - cd include-what-you-use + - git checkout clang_10 + - cmake . -DCMAKE_PREFIX_PATH=/usr/lib/llvm-10 + - make + - export PATH+=:$(pwd)/bin + + script: + - cd $CI_PROJECT_DIR/build + - rm -r ./* + - cmake .. -DBUILD_VF_CPU=ON -DUSE_OPENMP=OFF -DBUILD_VF_INCLUDE_WHAT_YOU_USE=ON + - make \ No newline at end of file