before-script-osx.sh 482 B

123456789101112131415161718192021
  1. # Make sure ccache is found
  2. export PATH=/usr/local/opt/ccache/libexec:$PATH
  3. git fetch --tags
  4. ./formatcode.sh
  5. if ! ./CI/check-format.sh; then
  6. exit 1
  7. fi
  8. mkdir build
  9. cd build
  10. cmake -DENABLE_SPARKLE_UPDATER=ON \
  11. -DCMAKE_OSX_DEPLOYMENT_TARGET=10.11 \
  12. -DQTDIR=/usr/local/Cellar/qt/5.14.1 \
  13. -DDepsPath=/tmp/obsdeps \
  14. -DVLCPath=$PWD/../../vlc-3.0.4 \
  15. -DBUILD_BROWSER=ON \
  16. -DBROWSER_DEPLOY=ON \
  17. -DBUILD_CAPTIONS=ON \
  18. -DCEF_ROOT_DIR=$PWD/../../cef_binary_${CEF_BUILD_VERSION}_macosx64 ..