diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91c4025f1d..ed2f5978d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -154,6 +154,7 @@ Ubuntu_GCC_asan: CMAKE_BUILD_TYPE: Debug CMAKE_CXX_FLAGS_DEBUG: -g -O1 -fno-omit-frame-pointer -fsanitize=address -fsanitize=pointer-subtract -fsanitize=leak CMAKE_EXE_LINKER_FLAGS: -fsanitize=address -fsanitize=pointer-subtract -fsanitize=leak -fuse-ld=mold + BUILD_OPENMW_ONLY: 1 Clang_Format: extends: .Ubuntu_Image diff --git a/CI/before_script.linux.sh b/CI/before_script.linux.sh index 7249295467..0edd38628f 100755 --- a/CI/before_script.linux.sh +++ b/CI/before_script.linux.sh @@ -107,6 +107,21 @@ if [[ "${BUILD_TESTS_ONLY}" ]]; then -DBUILD_OPENCS_TESTS=${BUILD_UNITTESTS} \ -DBUILD_BENCHMARKS=${BUILD_BENCHMARKS} \ .. +elif [[ "${BUILD_OPENMW_ONLY}" ]]; then + ${ANALYZE} cmake \ + "${CMAKE_CONF_OPTS[@]}" \ + -DBUILD_OPENMW=ON \ + -DBUILD_BSATOOL=OFF \ + -DBUILD_ESMTOOL=OFF \ + -DBUILD_LAUNCHER=OFF \ + -DBUILD_MWINIIMPORTER=OFF \ + -DBUILD_ESSIMPORTER=OFF \ + -DBUILD_OPENCS=OFF \ + -DBUILD_WIZARD=OFF \ + -DBUILD_NAVMESHTOOL=OFF \ + -DBUILD_BULLETOBJECTTOOL=OFF \ + -DBUILD_NIFTEST=OFF \ + .. else ${ANALYZE} cmake \ "${CMAKE_CONF_OPTS[@]}" \