mirror of https://github.com/mpv-player/mpv
ci/msys2: enable sanitizers for clang build
This commit is contained in:
parent
8cd69e6de8
commit
059f78b517
|
@ -11,6 +11,10 @@ args=(
|
||||||
-D{egl-angle-lib,egl-angle-win32,pdf-build,rubberband,win32-smtc}=enabled
|
-D{egl-angle-lib,egl-angle-win32,pdf-build,rubberband,win32-smtc}=enabled
|
||||||
)
|
)
|
||||||
|
|
||||||
|
[[ "$SYS" == "clang64" ]] && args+=(
|
||||||
|
-Db_sanitize=address,undefined
|
||||||
|
)
|
||||||
|
|
||||||
meson setup build $common_args "${args[@]}"
|
meson setup build $common_args "${args[@]}"
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
./build/mpv.com -v --no-config
|
./build/mpv.com -v --no-config
|
||||||
|
|
Loading…
Reference in New Issue