Commit 3bdf3a3a authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1490 Put sonar on a separate stage. Comment out cppcheck entirely as a...

#1490 Put sonar on a separate stage. Comment out cppcheck entirely as a consequence (just for the test phase).
parent 730ba3ba
Pipeline #97747 failed with stages
in 1 minute and 8 seconds
......@@ -2,18 +2,18 @@ include:
- local: '/ExternalTools/Gitlab-CI/common.yml'
cppcheck:
stage: analysis
image: registry.gitlab.inria.fr/morefem/analysistools/cppcheck:latest
script:
- python Scripts/Tools/run_cpp_check.py
dependencies: []
artifacts:
name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-cppcheck-xml"
expire_in: 2 days
when: always
paths:
- morefem-cppcheck.xml
# cppcheck:
# stage: analysis
# image: registry.gitlab.inria.fr/morefem/analysistools/cppcheck:latest
# script:
# - python Scripts/Tools/run_cpp_check.py
# dependencies: []
# artifacts:
# name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-cppcheck-xml"
# expire_in: 2 days
# when: always
# paths:
# - morefem-cppcheck.xml
rats:
stage: analysis
......@@ -30,7 +30,7 @@ rats:
sonarqube:
stage: analysis
stage: analysis_sonar
dependencies:
- rats
# - cppcheck
......
......@@ -2,6 +2,7 @@ stages:
- build_and_test
- check_warnings
- analysis
- analysis_sonar
# As suggested by https://blog.sparksuite.com/7-ways-to-speed-up-gitlab-ci-cd-times-29f60aab69f9
variables:
......
......@@ -142,7 +142,7 @@ BOOST_AUTO_TEST_CASE(self_copy)
# ifdef __clang__
PRAGMA_DIAGNOSTIC(push)
PRAGMA_DIAGNOSTIC(ignored "-Wself-assign-overloaded") // that's on purpose here!
PRAGMA_DIAGNOSTIC(ignored "-Wself-assign-overloaded") // that's on purpose here!
# endif // __clang__
function1 = function1;
......
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