mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 07:45:36 +00:00
Add separate CI job with clang tidy
This commit is contained in:
parent
c51d949d1e
commit
3479aa5bff
1 changed files with 15 additions and 3 deletions
|
@ -261,17 +261,29 @@ Ubuntu_GCC_tests_coverage:
|
|||
Ubuntu_Clang:
|
||||
extends: .Ubuntu
|
||||
before_script:
|
||||
- CI/install_debian_deps.sh clang clang-tidy openmw-deps openmw-deps-dynamic
|
||||
- CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic
|
||||
cache:
|
||||
key: Ubuntu_Clang.ubuntu_22.04.v1
|
||||
key: Ubuntu_Clang.ubuntu_22.04.v2
|
||||
variables:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
CI_CLANG_TIDY: 1
|
||||
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.
|
||||
timeout: 3h
|
||||
|
||||
Ubuntu_Clang_Tidy:
|
||||
extends: Ubuntu_Clang
|
||||
before_script:
|
||||
- CI/install_debian_deps.sh clang clang-tidy openmw-deps openmw-deps-dynamic
|
||||
cache:
|
||||
key: Ubuntu_Clang_Tidy.ubuntu_22.04.v1
|
||||
variables:
|
||||
CMAKE_BUILD_TYPE: Debug
|
||||
CMAKE_CXX_FLAGS_DEBUG: -O0
|
||||
CI_CLANG_TIDY: 1
|
||||
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
|
||||
timeout: 3h
|
||||
|
||||
.Ubuntu_Clang_tests:
|
||||
extends: Ubuntu_Clang
|
||||
cache:
|
||||
|
|
Loading…
Reference in a new issue