diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-20 16:33:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-02-20 17:17:24 +1000 |
commit | 45c223d3944c6abc9023594c0f00e562d6feea79 (patch) | |
tree | 8cf5947f1e51085874d3942cbd38b71289828fcd /.gitlab-ci | |
parent | 5a9368f4dae763321b72b5d3ae9c2d91d73eea98 (diff) | |
download | libevdev-45c223d3944c6abc9023594c0f00e562d6feea79.tar.gz |
gitlab CI: add a scan-build target
To avoid dnf updates and outdated packages (and the resulting delay from a dnf
update) we just install the clang-analyzer package into the default Fedora
image. It won't mess with the build expectations too much.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/gitlab-ci.tmpl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.gitlab-ci/gitlab-ci.tmpl b/.gitlab-ci/gitlab-ci.tmpl index c45549f..f56a54f 100644 --- a/.gitlab-ci/gitlab-ci.tmpl +++ b/.gitlab-ci/gitlab-ci.tmpl @@ -46,7 +46,7 @@ variables: # Run dnf install/apt-get install/.. with the list of packages for your # # distribution # ############################################################################### - FEDORA_RPMS: 'git gcc gcc-c++ meson automake autoconf libtool make pkgconfig python3 check-devel valgrind binutils doxygen xz' + FEDORA_RPMS: 'git gcc gcc-c++ meson automake autoconf libtool make pkgconfig python3 check-devel valgrind binutils doxygen xz clang-analyzer' CENTOS_RPMS: 'git gcc gcc-c++ automake autoconf libtool make pkgconfig python3 check-devel valgrind binutils xz' UBUNTU_DEBS: 'git gcc g++ meson automake autoconf libtool make pkg-config python3 check valgrind binutils doxygen xz-utils' DEBIAN_DEBS: $UBUNTU_DEBS @@ -57,7 +57,7 @@ variables: # changing these will force rebuilding the associated image # Note: these tags have no meaning and are not tied to a particular # libevdev version - FEDORA_TAG: '2020-02-17.1' + FEDORA_TAG: '2020-02-20.0' CENTOS_TAG: '2020-02-17.1' DEBIAN_TAG: '2020-02-17.1' UBUNTU_TAG: '2020-02-17.1' @@ -445,6 +445,11 @@ enable-gcov:meson: variables: MESON_ARGS: '-Dcoverity=true' +scan-build:meson: + extends: .fedora-custom-build@meson-template + variables: + NINJA_ARGS: 'scan-build' + soname: stage: build image: $FEDORA_CONTAINER_IMAGE |