aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2021-09-15 13:58:33 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-22 04:44:28 +0000
commit3e193b376fbf6da126e21494c0fa2c547b96d89b (patch)
treec9eb275311e5590c8afbe4f5aaa7a67596b96492 /.gitlab-ci.yml
parent6c0897393b2d566d0d75b104bbbc1996c2f6ef20 (diff)
GitLab CI: Add HTML output for Clang Analyzer Check artifact
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 256b1b9451..d065fbbd18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -560,20 +560,24 @@ Code Checks + Clang Warnings:
- printf "\e[0Ksection_start:%s:cmake_section[collapsed=true]\r\e[0KRunning CMake" "$( date +%s)"
- cmake -DENABLE_EXTRA_COMPILER_WARNINGS=on -DENABLE_CHECKHF_CONFLICT=on -DCMAKE_EXPORT_COMPILE_COMMANDS=on -DENABLE_CCACHE=ON -G Ninja ..
- printf "\e[0Ksection_end:%s:cmake_section\r\e[0K" "$( date +%s)"
- - script --command ninja --flush --quiet --return ../clang_report.txt
- - ansi2html < ../clang_report.txt > ../clang_report.html
+ - mkdir ../html
+ - script --command ninja --flush --quiet --return ../tmp_clang_report.txt
+ - ansi2txt < ../tmp_clang_report.txt > ../clang_report.txt
+ - ansi2html < ../tmp_clang_report.txt > ../html/clang_report.html
- ./run/tshark -v 2> >(tee ../checkhf_conflict.txt)
- ../tools/validate-clang-check.sh -c $CLANG_VERSION 2> >(tee ../tmp_clang_analyzer_check.txt)
- ansi2txt < ../tmp_clang_analyzer_check.txt > ../clang_analyzer_check.txt
+ - ansi2html < ../tmp_clang_analyzer_check.txt > ../html/clang_analyzer_check.html
- ninja checkAPI
artifacts:
paths:
- - clang_report.html
+ - clang_report.txt
- clang_analyzer_check.txt
- cppcheck
- item_calls_check.txt
- tfs_check.txt
- checkhf_conflict.txt
+ - html/
# Windows runners are still beta, at least technically:
# https://docs.gitlab.com/ee/user/gitlab_com/index.html#windows-shared-runners-beta