|
|
@ -55,26 +55,6 @@ variables:
|
|
|
|
paths:
|
|
|
|
paths:
|
|
|
|
- build/install/
|
|
|
|
- build/install/
|
|
|
|
|
|
|
|
|
|
|
|
Clang_Tidy:
|
|
|
|
|
|
|
|
extends: .Ubuntu_Image
|
|
|
|
|
|
|
|
stage: build
|
|
|
|
|
|
|
|
rules:
|
|
|
|
|
|
|
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
|
|
|
|
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic clang-tidy clang
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
|
|
|
- CI/before_script.linux.sh
|
|
|
|
|
|
|
|
- cd build
|
|
|
|
|
|
|
|
- cmake --build . -- -j $(nproc) openmw esmtool bsatool niftest openmw-wizard openmw-launcher openmw-iniimporter openmw-essimporter
|
|
|
|
|
|
|
|
variables:
|
|
|
|
|
|
|
|
CC: clang
|
|
|
|
|
|
|
|
CXX: clang++
|
|
|
|
|
|
|
|
CI_CLANG_TIDY: 1
|
|
|
|
|
|
|
|
timeout: 8h
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
|
|
|
|
paths: []
|
|
|
|
|
|
|
|
expire_in: 1 minute
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Coverity:
|
|
|
|
Coverity:
|
|
|
|
extends: .Ubuntu_Image
|
|
|
|
extends: .Ubuntu_Image
|
|
|
|
stage: build
|
|
|
|
stage: build
|
|
|
@ -261,12 +241,13 @@ Ubuntu_GCC:
|
|
|
|
Ubuntu_Clang:
|
|
|
|
Ubuntu_Clang:
|
|
|
|
extends: .Ubuntu
|
|
|
|
extends: .Ubuntu
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic
|
|
|
|
- CI/install_debian_deps.sh clang clang-tidy openmw-deps openmw-deps-dynamic
|
|
|
|
cache:
|
|
|
|
cache:
|
|
|
|
key: Ubuntu_Clang.v2
|
|
|
|
key: Ubuntu_Clang.v2
|
|
|
|
variables:
|
|
|
|
variables:
|
|
|
|
CC: clang
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
|
|
|
CXX: clang++
|
|
|
|
|
|
|
|
CI_CLANG_TIDY: 1
|
|
|
|
CCACHE_SIZE: 2G
|
|
|
|
CCACHE_SIZE: 2G
|
|
|
|
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
|
|
|
|
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
|
|
|
|
timeout: 2h
|
|
|
|
timeout: 2h
|
|
|
|