[gimp/wip/Jehan/improve-cppcheck: 2/2] gitlab-ci: ignore a bunch of directories.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/improve-cppcheck: 2/2] gitlab-ci: ignore a bunch of directories.
- Date: Wed, 29 Apr 2020 13:16:51 +0000 (UTC)
commit 43b538bf1b56d3b274a1a7ccae6805f687b613ea
Author: Jehan <jehan girinstud io>
Date: Wed Apr 29 14:05:31 2020 +0200
gitlab-ci: ignore a bunch of directories.
Problem with the CI is that the source is straight in our base directory
and therefore installed dependency files as well as cache or built files
are in subfolders.
Let's try to ignore as much as I can see. This should avoid a bunch of
warning and errors during report generation.
.gitlab-ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 69d110b28d..d33aba9a7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -349,7 +349,8 @@ cppcheck:
- apt-get update
- apt-get install -y cppcheck
script:
- - cppcheck -q -j8 --enable=all --force --output-file=cppcheck.xml --xml --xml-version=2 .
+ - cppcheck -q -j8 --enable=all --force --output-file=cppcheck.xml --xml --xml-version=2
+ -i _build -i _deps -i gimp-prefix -i .local -i .cache .
- mkdir report
- cppcheck-htmlreport --source-dir=. --title=gimp --file=cppcheck.xml --report-dir=report
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]