mpv/ci/build-tumbleweed.sh

37 lines
965 B
Bash
Raw Normal View History

#!/bin/sh
set -e
if [ "$1" = "meson" ]; then
meson setup build \
-Dcdda=enabled \
-Ddvbin=enabled \
-Ddvdnav=enabled \
-Dlibarchive=enabled \
-Dlibmpv=true \
-Dmanpage-build=enabled \
-Dpipewire=enabled \
-Dshaderc=enabled \
-Dtests=true \
-Dvulkan=enabled
meson compile -C build
2023-01-19 16:19:36 +00:00
meson test -C build
./build/mpv --no-config -v --unittest=all-simple
fi
if [ "$1" = "waf" ]; then
2023-01-29 06:30:58 +00:00
python3 ./waf configure \
--out=build_waf \
--enable-cdda \
--enable-dvbin \
--enable-dvdnav \
--enable-libarchive \
--enable-libmpv-shared \
--enable-manpage-build \
--enable-pipewire \
--enable-shaderc \
--enable-tests \
--enable-vulkan
python3 ./waf build
2023-01-29 06:30:58 +00:00
./build_waf/mpv -v --no-config -v --unittest=all-simple
fi