summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Jeanmougin <marcjeanmougin@free.fr>2017-06-13 13:22:10 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2017-06-13 13:22:10 +0000
commitd7799394a974e873b536d789082fb499aa1070cf (patch)
tree7c93bb32d1541a00013965386853f695f17bae2e
parentUpdate .gitlab-ci.yml (diff)
downloadinkscape-d7799394a974e873b536d789082fb499aa1070cf.tar.gz
inkscape-d7799394a974e873b536d789082fb499aa1070cf.zip
Update .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 786e26021..29f301bfd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,7 @@ cache:
paths:
- ccache/
+# Building inkscape
inkscape:
stage: build
script:
@@ -30,14 +31,19 @@ inkscape:
paths:
- inkscape-build.tgz
+# This job is a static analysis build by clang.
+# It takes MORE THAN 3 HOURS, and depending on worker sometimes 4 hours.
+# Make sure the timeout of the build is big enough
clang:
stage: build
+ only:
+ - schedules
script:
- apt-get install -y clang-3.8 clang
- mkdir -p clang-build
- cd clang-build
- scan-build cmake .. -DCMAKE_BUILD_TYPE=Debug
- - VERBOSE=1 scan-build -o ../scan make
+ - VERBOSE=1 scan-build -o ../scan make -j2
artifacts:
paths:
- scan/
@@ -49,6 +55,7 @@ test:
- cd build
- make test
+# uploads the clang scan to user.gitlab.io/inkscape/
pages:
stage: deploy
dependencies: