Commit d01dad7c authored by PRUVOST Florent's avatar PRUVOST Florent

add clang SA analysis

parent 3137cd2e
......@@ -17,12 +17,8 @@ before_script:
- echo BUILD_OPTIONS $BUILD_OPTIONS
- echo VERSION $VERSION
- (cd build &&
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake ..
$BUILD_OPTIONS &&
ctest --no-compress-output -V -j 5
-D ExperimentalBuild
-D ExperimentalSubmit
| tee ../chameleon_${VERSION}.log)
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake .. $BUILD_OPTIONS &&
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make -j5 | tee ../chameleon_${VERSION}.log)
- (cd build &&
make install | tee -a ../chameleon_${VERSION}.log &&
rm install/ -r)
......
......@@ -43,6 +43,7 @@ sonar.c.compiler.reportPath=chameleon_starpu.log, chameleon_starpu_simgrid.log,
sonar.c.coverage.reportPath=chameleon_coverage.xml
sonar.c.cppcheck.reportPath=chameleon_cppcheck.xml
sonar.c.rats.reportPath=chameleon_rats.xml
sonar.c.clangsa.reportPath=build/analyzer_reports/*/*.plist
EOF
# run sonar analysis + publish on sonarqube-dev
......
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