diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2020-09-12 15:44:03 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2020-09-12 15:44:03 +0300 |
commit | 5a3d2456df40cd53bd0f7e9135f025799a614f33 (patch) | |
tree | 689e8c10e6814ddf8990e8ddb06909dbc7e8830b | |
parent | abf60cc30a82f145b3a355878db125b847befc9a (diff) | |
download | metacity-5a3d2456df40cd53bd0f7e9135f025799a614f33.tar.gz |
revert "ci: stop using clang for coverity job"
This reverts commit 1d70b1be2cfdd55f5af3108ec2ddf9f06a960f5a.
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca695b28..205995ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,22 +53,20 @@ ubuntu: coverity: image: ubuntu:devel stage: analysis - variables: - # cov-build doesn’t like GLIB_DEPRECATED_ENUMERATOR - CFLAGS: '-DGLIB_DISABLE_DEPRECATION_WARNINGS' when: manual before_script: - apt-get update - *install-ubuntu-dependencies - apt-get install -q -y --no-install-recommends ca-certificates + clang curl script: - curl https://scan.coverity.com/download/linux64 --data "token=$COVERITY_TOKEN&project=metacity" --output /tmp/coverity_tool.tgz - tar zxf /tmp/coverity_tool.tgz - - ./autogen.sh --disable-Werror + - CC=clang ./autogen.sh --disable-Werror - ./cov-analysis-linux64-*/bin/cov-build --dir cov-int make - tar czf cov-int.tar.gz cov-int - curl --form token=$COVERITY_TOKEN |