1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 21:15:36 +00:00

See if we can get away with using another version of clang with coverity

This commit is contained in:
psi29a 2022-09-30 13:15:27 +00:00
parent b0ce938b8f
commit 1cd17d8430
2 changed files with 6 additions and 5 deletions

View file

@ -67,23 +67,23 @@ Coverity:
tags: tags:
- docker - docker
- linux - linux
image: ubuntu:22.04 image: ubuntu:20.04
stage: build stage: build
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"
cache: cache:
key: Coverity.ubuntu_22.04.v1 key: Coverity.ubuntu_20.04.v1
paths: paths:
- apt-cache/ - apt-cache/
- ccache/ - ccache/
variables: variables:
CCACHE_SIZE: 2G CCACHE_SIZE: 2G
CC: clang CC: clang-11
CXX: clang++ CXX: clang++-11
CMAKE_BUILD_TYPE: Debug CMAKE_BUILD_TYPE: Debug
CMAKE_CXX_FLAGS_DEBUG: -O0 CMAKE_CXX_FLAGS_DEBUG: -O0
before_script: before_script:
- CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic - CI/install_debian_deps.sh coverity openmw-deps openmw-deps-dynamic
- curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 - curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64
--form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN --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

View file

@ -11,6 +11,7 @@ print_help() {
declare -rA GROUPED_DEPS=( declare -rA GROUPED_DEPS=(
[gcc]="binutils gcc build-essential cmake ccache curl unzip git pkg-config mold" [gcc]="binutils gcc build-essential cmake ccache curl unzip git pkg-config mold"
[clang]="binutils clang make cmake ccache curl unzip git pkg-config mold" [clang]="binutils clang make cmake ccache curl unzip git pkg-config mold"
[coverity]="binutils clang-11 make cmake ccache curl unzip git pkg-config"
# Common dependencies for building OpenMW. # Common dependencies for building OpenMW.
[openmw-deps]=" [openmw-deps]="