diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-06 09:35:53 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-06 09:36:32 +1000 |
commit | 74694ae8f82b790d01e0572723fced011cd519a2 (patch) | |
tree | ff6ad5173cb52ed4428df41f46165d36ce61c718 /.gitlab-ci.yml | |
parent | b469368790f809019a701bf0d7a3911efc1ce4f5 (diff) |
GitLab CI: move the scan-build job up in the file
This is by far the slowest job, move it up so it gets started earlier and we
have more parallelization going on.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a45c8b79..cf1ecb7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -505,6 +505,20 @@ fedora:28@default-build-release: MESON_ARGS: "-Dbuildtype=release" CFLAGS: "-Werror" +fedora:28@scan-build: + <<: *fedora_28_template + <<: *default_build + variables: + FEDORA_VERSION: 28 + NINJA_ARGS: scan-build + before_script: + - dnf install -y clang-analyzer findutils + after_script: + - test ! -d $MESON_BUILDDIR/meson-logs/scanbuild && exit 0 + - test $(find $MESON_BUILDDIR/meson-logs/scanbuild -maxdepth 0 ! -empty -exec echo "not empty" \; | wc -l) -eq 0 && exit 0 + - echo "Check scan-build results" + - /bin/false + # Below jobs are build option combinations. We only # run them on one image, they shouldn't fail on one distro # when they succeed on another. @@ -573,20 +587,6 @@ fedora:28@build-no-tests-nodeps: before_script: - dnf remove -y check-devel -fedora:28@scan-build: - <<: *fedora_28_template - <<: *default_build - variables: - FEDORA_VERSION: 28 - NINJA_ARGS: scan-build - before_script: - - dnf install -y clang-analyzer findutils - after_script: - - test ! -d $MESON_BUILDDIR/meson-logs/scanbuild && exit 0 - - test $(find $MESON_BUILDDIR/meson-logs/scanbuild -maxdepth 0 ! -empty -exec echo "not empty" \; | wc -l) -eq 0 && exit 0 - - echo "Check scan-build results" - - /bin/false - fedora:28@valgrind: <<: *fedora_28_template variables: |