Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

analysis.yml 2.51 KB
Newer Older
1
2
valgrind-elasticity:
  stage: valgrind
3
4
  image: registry.gitlab.inria.fr/morefem/analysistools/valgrind:latest
  script:
5
      - mkdir -p build
6
      - cd build && python ../Scripts/Tools/run_valgrind_elasticity.py
7
8
  dependencies: []
  artifacts:
9
      name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-valgrind-elasticity"
10
11
      expire_in: 2 days
      when: always
12
      paths:
13
          - memcheck_elasticity.txt
14
15
  # after_script:
  #     - rm -rf build4valgrind/
16
17
  only:
      - develop@morefem/corelibrary/morefem
18
      - /(valgrind)/
19
20


21
22
23
24
25
26
27
28
29
30
31
32
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
33
34
35
    only:
        - develop@morefem/corelibrary/morefem
        - /(sonarqube)/
36
37


38
39
rats:
    stage: analysis
40
    image: registry.gitlab.inria.fr/morefem/analysistools/rats:latest
41
    script:
42
        - python Scripts/Tools/run_rats.py
43
44
45
46
47
48
49
    dependencies: []    
    artifacts:
        name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-rats-xml"
        expire_in: 2 days
        when: always
        paths:
            - morefem-rats.xml
50
51
52
    only:
        - develop@morefem/corelibrary/morefem
        - /(sonarqube)/
53
54


55
56
57
58
59
60
61
62
63
64
65
clang-static-analysis:
    stage: analysis
    image: registry.gitlab.inria.fr/morefem/analysistools/clang-sa:latest
    script:
        - python Scripts/Tools/run_clang_static_analyser.py
    artifacts:
        name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-clang-sa"
        expire_in: 2 days
        when: always
        paths:
            - build_4_sonarqube/analyzer_reports
66
67
68
    only:
        - develop@morefem/corelibrary/morefem
        - /(sonarqube)/
69
70


71
sonarqube:
72
    stage: generate_sonarqube
73
74
    dependencies:
        - rats
75
76
        - clang-static-analysis
        - cppcheck
77
78
    image: registry.gitlab.inria.fr/morefem/analysistools/sonarqube:latest    
    script:
79
        - Scripts/Tools/run_sonarqube.sh
80
81
82
83
84
    artifacts:
        name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-sonarqube"
        expire_in: 1 week
        when: always
        paths:
85
            - morefem-cppcheck.xml
86
            - morefem-rats.xml
87
            - morefem-build.log
88
            - sonar.log
89
90
    only:
        - develop@morefem/corelibrary/morefem
91
        - /(sonarqube)/
92
    
93
94