From 1e1956e15bccedbe0471ac7d23b154b17dca6e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Tue, 14 Jun 2022 00:11:07 +0300 Subject: [PATCH] ci/build-mingw64: enable test building Not currently run, but adds coverage for compiled code. --- ci/build-mingw64.sh | 5 +++-- 1 file 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