summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-23 10:20:19 +0100
committersfan5 <sfan5@live.de>2023-11-24 10:05:09 +0100
commit36a33b44b9d6f08107225028eceeeef4037c09ea (patch)
tree7182ae80a10da5bc4d865ac4ca7afc5bd13c84ed /ci
parentab8cc64b195559caf22710d73f4fb4c82702b2f4 (diff)
downloadmpv-36a33b44b9d6f08107225028eceeeef4037c09ea.tar.bz2
mpv-36a33b44b9d6f08107225028eceeeef4037c09ea.tar.xz
ci/build-macos: enable Werror to catch issues quicker
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-macos.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/build-macos.sh b/ci/build-macos.sh
index 14b3a1b934..b5bb11d459 100755
--- a/ci/build-macos.sh
+++ b/ci/build-macos.sh
@@ -12,7 +12,9 @@ fi
PKG_CONFIG_PATH="${FFMPEG_SYSROOT}/lib/pkgconfig/" CC="${CC}" CXX="${CXX}" \
meson setup build \
+ --werror \
-Dprefix="${MPV_INSTALL_PREFIX}" \
+ -D{c_args,objc_args}="-Wno-error=deprecated -Wno-error=deprecated-declarations" \
-D{libmpv,tests}=true \
-D{gl,iconv,lcms2,lua,jpeg,plain-gl,zlib}=enabled \
-D{cocoa,coreaudio,gl-cocoa,macos-cocoa-cb,macos-touchbar,videotoolbox-gl}=enabled