diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-14 16:43:34 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-03-15 05:20:56 +0100 |
commit | 0e66ed7a6b6ff797f562467ffa7312c9b8625084 (patch) | |
tree | b9966ae9add7c7753b0da9d99ad3dadb01ae84bc /.gitlab-ci.yml | |
parent | 5b99f50f00d68e765e40fd442c1bcfefb72798e8 (diff) | |
download | gnutls-0e66ed7a6b6ff797f562467ffa7312c9b8625084.tar.gz |
.gitlab-ci.yml: remove -Werror compilation from scan-build
When we pass '--status-bugs' to the command in combination with
'-Werror' in CFLAGS it has the following side effects. In a failed
due to Werror build, scan-build fails to find any issues, and
marks the run as successfully completed. Hence, removes the -Werror
from clang-analyzer.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f94f7594a..ee0ce620d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -307,8 +307,8 @@ clang-analyzer/Fedora/x86_64: script: - scan-build ./configure --disable-doc --disable-guile --enable-fips140-mode - make -j$(nproc) -C gl - - scan-build --status-bugs -o scan-build-lib make CFLAGS="-Werror -O2" -j$(nproc) -C lib - - scan-build --status-bugs -o scan-build-libdane make CFLAGS="-Werror -O2" -j$(nproc) -C libdane + - scan-build --status-bugs -o scan-build-lib make -j$(nproc) -C lib + - scan-build --status-bugs -o scan-build-libdane make -j$(nproc) -C libdane tags: - shared except: |