diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddbfd90b776db..f92e454b53ec0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,6 +131,7 @@ jobs: env: CC: "${{ matrix.config.cc }}" CXX: "${{ matrix.config.cxx }}" + UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1" strategy: matrix: config: diff --git a/ci/build-tumbleweed.sh b/ci/build-tumbleweed.sh index 03e8d1ac1e558..933635b9b2412 100755 --- a/ci/build-tumbleweed.sh +++ b/ci/build-tumbleweed.sh @@ -4,7 +4,7 @@ set -e meson setup build \ --werror \ -Dlibplacebo:werror=false \ - -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \ + -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations -fno-sanitize=function" \ -Db_sanitize=address,undefined \ -Dcdda=enabled \ -Ddvbin=enabled \ @@ -16,5 +16,5 @@ meson setup build \ -Dshaderc=enabled \ -Dtests=true \ -Dvulkan=enabled -meson compile -C build +ninja -C build --verbose ./build/mpv -v --no-config