diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-13 23:03:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-14 05:09:16 +0300 |
commit | c879c26ddcf5bf027d2789b27d2bdc2ea6087aac (patch) | |
tree | ffff815fb910d6182974c1120ad32d9596f6f803 /.gitlab-ci.yml | |
parent | 2980c3ca3737afaf39cc8a8595737f131adacf5d (diff) | |
download | manaplus-c879c26ddcf5bf027d2789b27d2bdc2ea6087aac.tar.gz manaplus-c879c26ddcf5bf027d2789b27d2bdc2ea6087aac.tar.bz2 manaplus-c879c26ddcf5bf027d2789b27d2bdc2ea6087aac.tar.xz manaplus-c879c26ddcf5bf027d2789b27d2bdc2ea6087aac.zip |
add clang-tidy checks.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f8b51427..573499005 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2811,6 +2811,19 @@ gcc-6_SDL_default_old_sanitize: tags: - docker +clang-tidy: + stage: build + script: + - ./tools/ci/jobs/clang_tidy.sh + <<: *job-push + variables: + PACKAGES: clang clang-tidy + libxml2-dev libcurl4-gnutls-dev libpng-dev + libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev + FLAGS: "-readability-implicit-bool-cast,-clang-analyzer-optin.cplusplus.VirtualCall,-performance-unnecessary-value-param,-misc-unused-parameters,-modernize-use-default,-clang-analyzer-alpha.deadcode.UnreachableCode,-clang-analyzer-alpha.cplusplus.VirtualCall,-clang-analyzer-alpha.unix.Stream,-clang-analyzer-alpha.security.taint.TaintPropagation,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-alpha.core.BoolAssignment" + tags: + - docker + gcc-6_openglerrors_i386: stage: build script: |