0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
obs-studio/CI/before-script-osx.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
482 B
Bash
Raw Normal View History

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