From e7866da35bf6dfaf4fd0807ad49be2e833887661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sun, 5 Nov 2023 19:09:39 +0100 Subject: [PATCH] ci --- .github/workflows/build.yml | 9 +++++---- ci/build-tumbleweed.sh | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddbfd90b776db..43f8e935def52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,13 +131,14 @@ jobs: env: CC: "${{ matrix.config.cc }}" CXX: "${{ matrix.config.cxx }}" + UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1" strategy: matrix: config: - - { - cc: "gcc", - cxx: "g++", - } + # - { + # cc: "gcc", + # cxx: "g++", + # } - { cc: "clang", cxx: "clang++", 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