From 7a3fb81e4397fb44bdd309417605bc4d34b3fc3b 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 | 3 +++ ci/build-tumbleweed.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddbfd90b776db..31592725cd14d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -131,6 +131,8 @@ jobs: env: CC: "${{ matrix.config.cc }}" CXX: "${{ matrix.config.cxx }}" + CFLAGS: "${{ matrix.config.cflags }}" + UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1" strategy: matrix: config: @@ -141,6 +143,7 @@ jobs: - { cc: "clang", cxx: "clang++", + cflags: "-fno-sanitize=function" } steps: - uses: actions/checkout@v3 diff --git a/ci/build-tumbleweed.sh b/ci/build-tumbleweed.sh index 03e8d1ac1e558..d4f3d4a293bd8 100755 --- a/ci/build-tumbleweed.sh +++ b/ci/build-tumbleweed.sh @@ -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