mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-27 18:03:54 +01:00
Run CI test also with ASan
This commit is contained in:
parent
40a5e16e21
commit
dd1904a667
@ -9,8 +9,12 @@ install_linux_deps() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run_build() {
|
run_build() {
|
||||||
cmake . -DCMAKE_BUILD_TYPE=Debug \
|
local args=(
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
-DENABLE_LEVELDB=1 -DENABLE_POSTGRESQL=1 -DENABLE_REDIS=1
|
-DENABLE_LEVELDB=1 -DENABLE_POSTGRESQL=1 -DENABLE_REDIS=1
|
||||||
|
)
|
||||||
|
[[ "$CXX" == clang* ]] && args+=(-DCMAKE_CXX_FLAGS="-fsanitize=address")
|
||||||
|
cmake . "${args[@]}"
|
||||||
|
|
||||||
make -j2
|
make -j2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user