Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Nov 5, 2023
1 parent 84de84b commit 036ab20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -141,6 +143,7 @@ jobs:
- {
cc: "clang",
cxx: "clang++",
cflags: "-fno-sanitize=function"
}
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions ci/build-tumbleweed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $CFLAGS" \
-Db_sanitize=address,undefined \
-Dcdda=enabled \
-Ddvbin=enabled \
Expand All @@ -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

0 comments on commit 036ab20

Please sign in to comment.