yolobs-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

2017-06-29 19:01:10 +00:00
# Make sure ccache is found
export PATH=/usr/local/opt/ccache/libexec:$PATH
2018-12-16 16:14:58 +00:00
git fetch --tags
2018-05-29 19:13:02 +00:00
2019-09-22 21:19:10 +00:00
./formatcode.sh
if ! ./CI/check-format.sh; then
exit 1
fi
2017-04-19 19:54:15 +00:00
mkdir build
cd build
2018-02-19 19:54:37 +00:00
cmake -DENABLE_SPARKLE_UPDATER=ON \
2018-12-16 16:14:58 +00:00
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.11 \
-DQTDIR=/usr/local/Cellar/qt/5.10.1 \
2018-02-19 19:54:37 +00:00
-DDepsPath=/tmp/obsdeps \
2019-07-27 12:47:10 +00:00
-DVLCPath=$PWD/../../vlc-3.0.4 \
2018-02-19 19:54:37 +00:00
-DBUILD_BROWSER=ON \
2019-07-27 12:47:10 +00:00
-DBROWSER_DEPLOY=ON \
-DBUILD_CAPTIONS=ON \
2018-12-16 16:14:58 +00:00
-DCEF_ROOT_DIR=$PWD/../../cef_binary_${CEF_BUILD_VERSION}_macosx64 ..