1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 19:45:40 +00:00

Merge branch 'coverity_use_clang' into 'master'

have coverity use clang instead of gcc

See merge request OpenMW/openmw!1505
This commit is contained in:
jvoisin 2021-12-26 13:26:36 +00:00
commit 1b58e10b28

View file

@ -68,7 +68,7 @@ Coverity:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"
before_script: before_script:
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic coverity - CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic coverity
- curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN - curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
- tar xfz /tmp/cov-analysis-linux64.tgz - tar xfz /tmp/cov-analysis-linux64.tgz
script: script:
@ -83,8 +83,8 @@ Coverity:
--form description="CI_COMMIT_SHORT_SHA / $CI_COMMIT_TITLE / $CI_COMMIT_REF_NAME:$CI_PIPELINE_ID" --form description="CI_COMMIT_SHORT_SHA / $CI_COMMIT_TITLE / $CI_COMMIT_REF_NAME:$CI_PIPELINE_ID"
- cat /builds/OpenMW/openmw/cov-int/build-log.txt - cat /builds/OpenMW/openmw/cov-int/build-log.txt
variables: variables:
CC: gcc CC: clang
CXX: g++ CXX: clang++
artifacts: artifacts:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute