mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 03:08:33 +00:00
ci: do not print compile commands
It only shadows warnings/errors and makes log files bloated.
This commit is contained in:
parent
78d9b40ddc
commit
2868ecf2ac
@ -203,14 +203,14 @@ if [ "$1" = "meson" ]; then
|
|||||||
-D{libmpv,tests}=true -Dlua=luajit \
|
-D{libmpv,tests}=true -Dlua=luajit \
|
||||||
-D{shaderc,spirv-cross,d3d11,libplacebo}=enabled
|
-D{shaderc,spirv-cross,d3d11,libplacebo}=enabled
|
||||||
|
|
||||||
ninja -C build --verbose
|
ninja -C build
|
||||||
meson test -C build
|
meson test -C build
|
||||||
elif [ "$1" = "waf" ]; then
|
elif [ "$1" = "waf" ]; then
|
||||||
PKG_CONFIG=pkg-config ./waf configure \
|
PKG_CONFIG=pkg-config ./waf configure \
|
||||||
--enable-libmpv-shared --lua=luajit \
|
--enable-libmpv-shared --lua=luajit \
|
||||||
--enable-{shaderc,spirv-cross,d3d11,libplacebo,tests}
|
--enable-{shaderc,spirv-cross,d3d11,libplacebo,tests}
|
||||||
|
|
||||||
./waf build --verbose
|
./waf build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$2" = pack ]; then
|
if [ "$2" = pack ]; then
|
||||||
|
@ -22,7 +22,7 @@ if [ "$1" = "meson" ]; then
|
|||||||
-D uchardet=enabled \
|
-D uchardet=enabled \
|
||||||
-D vapoursynth=enabled \
|
-D vapoursynth=enabled \
|
||||||
-D vulkan=enabled
|
-D vulkan=enabled
|
||||||
meson compile -C build_meson --verbose
|
meson compile -C build_meson
|
||||||
cp ./build_meson/generated/mpv.com ./build_meson
|
cp ./build_meson/generated/mpv.com ./build_meson
|
||||||
meson test -C build_meson
|
meson test -C build_meson
|
||||||
./build_meson/mpv.com --no-config -v --unittest=all-simple
|
./build_meson/mpv.com --no-config -v --unittest=all-simple
|
||||||
@ -51,6 +51,6 @@ if [ "$1" = "waf" ]; then
|
|||||||
--enable-vapoursynth \
|
--enable-vapoursynth \
|
||||||
--lua=luajit \
|
--lua=luajit \
|
||||||
--enable-vulkan
|
--enable-vulkan
|
||||||
./waf build --verbose
|
./waf build
|
||||||
./build/mpv.com -v --no-config -v --unittest=all-simple
|
./build/mpv.com -v --no-config -v --unittest=all-simple
|
||||||
fi
|
fi
|
||||||
|
@ -13,7 +13,7 @@ if [ "$1" = "meson" ]; then
|
|||||||
-Dshaderc=enabled \
|
-Dshaderc=enabled \
|
||||||
-Dtests=true \
|
-Dtests=true \
|
||||||
-Dvulkan=enabled
|
-Dvulkan=enabled
|
||||||
meson compile -C build --verbose
|
meson compile -C build
|
||||||
meson test -C build
|
meson test -C build
|
||||||
./build/mpv --no-config -v --unittest=all-simple
|
./build/mpv --no-config -v --unittest=all-simple
|
||||||
fi
|
fi
|
||||||
@ -30,6 +30,6 @@ if [ "$1" = "waf" ]; then
|
|||||||
--enable-shaderc \
|
--enable-shaderc \
|
||||||
--enable-tests \
|
--enable-tests \
|
||||||
--enable-vulkan
|
--enable-vulkan
|
||||||
python3 ./waf build --verbose
|
python3 ./waf build
|
||||||
./build/mpv -v --no-config -v --unittest=all-simple
|
./build/mpv -v --no-config -v --unittest=all-simple
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user