From d7799394a974e873b536d789082fb499aa1070cf Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Tue, 13 Jun 2017 13:22:10 +0000 Subject: Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3