Skip to content

Commit

Permalink
Merge branch 'reduce_asan_scope' into 'master'
Browse files Browse the repository at this point in the history
Build only openmw by Ubuntu_GCC_asan job

See merge request OpenMW/openmw!3109
  • Loading branch information
psi29a committed Jun 6, 2023
2 parents de92dff + c8a8487 commit aaab9fb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions CI/before_script.linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}" \
Expand Down

0 comments on commit aaab9fb

Please sign in to comment.