diff options
Diffstat (limited to 'ci/build-tumbleweed.sh')
-rwxr-xr-x | ci/build-tumbleweed.sh | 42 |
1 files changed, 15 insertions, 27 deletions
diff --git a/ci/build-tumbleweed.sh b/ci/build-tumbleweed.sh index 1785360f22..069372a21c 100755 --- a/ci/build-tumbleweed.sh +++ b/ci/build-tumbleweed.sh @@ -1,30 +1,18 @@ #!/bin/sh set -e -if [ "$1" = "meson" ]; then - meson build \ - -Dcdda=enabled \ - -Ddvbin=enabled \ - -Ddvdnav=enabled \ - -Dlibarchive=enabled \ - -Dlibmpv=true \ - -Dmanpage-build=enabled \ - -Dshaderc=enabled \ - -Dvulkan=enabled - meson compile -C build --verbose - ./build/mpv -fi - -if [ "$1" = "waf" ]; then - python3 ./waf configure \ - --enable-cdda \ - --enable-dvbin \ - --enable-dvdnav \ - --enable-libarchive \ - --enable-libmpv-shared \ - --enable-manpage-build \ - --enable-shaderc \ - --enable-vulkan - python3 ./waf build --verbose - ./build/mpv -fi +meson setup build \ + --werror \ + -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \ + -Db_sanitize=address,undefined \ + -Dcdda=enabled \ + -Ddvbin=enabled \ + -Ddvdnav=enabled \ + -Dlibarchive=enabled \ + -Dlibmpv=true \ + -Dmanpage-build=enabled \ + -Dpipewire=enabled \ + -Dtests=true \ + -Dvulkan=enabled +meson compile -C build +./build/mpv -v --no-config |