obs-studio/CI/before-script-osx.sh

22 lines
482 B
Bash
Raw Normal View History

# Make sure ccache is found
export PATH=/usr/local/opt/ccache/libexec:$PATH
2018-08-09 19:47:47 -07:00
git fetch --tags
./formatcode.sh
if ! ./CI/check-format.sh; then
exit 1
fi
2016-10-09 15:26:44 -07:00
mkdir build
cd build
2018-01-30 20:42:07 -08:00
cmake -DENABLE_SPARKLE_UPDATER=ON \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.11 \
2020-03-04 17:21:28 -08:00
-DQTDIR=/usr/local/Cellar/qt/5.14.1 \
2018-01-28 16:58:36 -08:00
-DDepsPath=/tmp/obsdeps \
-DVLCPath=$PWD/../../vlc-3.0.4 \
2018-01-28 16:58:36 -08:00
-DBUILD_BROWSER=ON \
-DBROWSER_DEPLOY=ON \
-DBUILD_CAPTIONS=ON \
-DCEF_ROOT_DIR=$PWD/../../cef_binary_${CEF_BUILD_VERSION}_macosx64 ..