diff options
author | Jan Ekström <jeebjp@gmail.com> | 2022-06-14 00:11:07 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2022-06-15 21:19:10 +0300 |
commit | 1e1956e15bccedbe0471ac7d23b154b17dca6e68 (patch) | |
tree | 7c4d2b146959461ec5c8eb25e61c5587939a6c93 /ci | |
parent | 5d9af3a9dd4621a7202e1776caa6c593bc7969dd (diff) | |
download | mpv-1e1956e15bccedbe0471ac7d23b154b17dca6e68.tar.bz2 mpv-1e1956e15bccedbe0471ac7d23b154b17dca6e68.tar.xz |
ci/build-mingw64: enable test building
Not currently run, but adds coverage for compiled code.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/build-mingw64.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/build-mingw64.sh b/ci/build-mingw64.sh index 275c0d2398..d50d317d13 100755 --- a/ci/build-mingw64.sh +++ b/ci/build-mingw64.sh @@ -188,7 +188,8 @@ if [ $1 = "meson" ]; then CFLAGS="-I'$prefix_dir/include'" LDFLAGS="-L'$prefix_dir/lib'" \ meson .. --cross-file "${prefix_dir}/crossfile" --libdir lib \ - -Dlibmpv=true -Dlua=luajit -D{shaderc,spirv-cross,d3d11,libplacebo}=enabled + -D{libmpv,tests}=true -Dlua=luajit \ + -D{shaderc,spirv-cross,d3d11,libplacebo}=enabled meson compile fi @@ -197,7 +198,7 @@ if [ $1 = "waf" ]; then PKG_CONFIG=pkg-config CFLAGS="-I'$prefix_dir/include'" LDFLAGS="-L'$prefix_dir/lib'" \ python3 ./waf configure \ --enable-libmpv-shared --lua=luajit \ - --enable-{shaderc,spirv-cross,d3d11,libplacebo} + --enable-{shaderc,spirv-cross,d3d11,libplacebo,tests} python3 ./waf build --verbose fi |