diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-06-14 16:11:57 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-06-14 16:11:57 +0000 |
| commit | 2952e7ce44dbc5a59d261ea0518104276694c7cc (patch) | |
| tree | 5df7994618a3d3ee9b46bfc0784ae81992140bea | |
| parent | Merge branch 'fix-1417470' of gitlab.com:mgmax/inkscape (diff) | |
| parent | Update .gitlab-ci.yml (diff) | |
| download | inkscape-2952e7ce44dbc5a59d261ea0518104276694c7cc.tar.gz inkscape-2952e7ce44dbc5a59d261ea0518104276694c7cc.zip | |
Merge branch 'master' of gitlab.com:marcjeanmougin/inkscape
| -rw-r--r-- | .gitlab-ci.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29d090da7..a57f8e61f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,7 @@ cache: paths: - ccache/ +# Building inkscape inkscape: stage: build script: @@ -30,8 +31,39 @@ inkscape: paths: - build/ +# 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 -j2 + artifacts: + paths: + - scan/ + test: stage: test script: - cd build - make test + +# uploads the clang scan to user.gitlab.io/inkscape/ +pages: + stage: deploy + when: manual + dependencies: + - clang + script: + - if test -e scan; then cp -r scan/* public; fi + artifacts: + paths: + - public + only: + - master |
