mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
CI: OSX - Use bash variable for CEF version
This commit is contained in:
parent
33e16c3ee9
commit
5843100b9e
@ -1,3 +1,3 @@
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DDepsPath=/tmp/obsdeps -DVLCPath=$PWD/../../vlc-master -DBUILD_BROWSER=ON -DCEF_ROOT_DIR=$PWD/../../cef_binary_3.2987.1588.g1952835_macosx64 ..
|
||||
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DDepsPath=/tmp/obsdeps -DVLCPath=$PWD/../../vlc-master -DBUILD_BROWSER=ON -DCEF_ROOT_DIR=$PWD/../../cef_binary_$CEF_BUILD_VERSION_macosx64 ..
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Exit if something fails
|
||||
set -e
|
||||
|
||||
CEF_BUILD_VERSION=3.2987.1588.g1952835
|
||||
|
||||
git fetch --tags
|
||||
|
||||
# Leave obs-studio folder
|
||||
@ -30,9 +32,9 @@ mkdir ./sparkle
|
||||
tar -xf ./sparkle.tar.bz2 -C ./sparkle
|
||||
|
||||
# CEF Stuff
|
||||
curl -kLO https://obs-nightly.s3-us-west-2.amazonaws.com/cef_binary_3.2987.1588.g1952835_macosx64.tar.bz2 -f --retry 5 -C -
|
||||
tar -xf ./cef_binary_3.2987.1588.g1952835_macosx64.tar.bz2
|
||||
cd ./cef_binary_3.2987.1588.g1952835_macosx64
|
||||
curl -kLO https://obs-nightly.s3-us-west-2.amazonaws.com/cef_binary_$CEF_BUILD_VERSION_macosx64.tar.bz2 -f --retry 5 -C -
|
||||
tar -xf ./cef_binary_$CEF_BUILD_VERSION_macosx64.tar.bz2
|
||||
cd ./cef_binary_$CEF_BUILD_VERSION_macosx64
|
||||
mkdir build
|
||||
cd ./build
|
||||
cmake -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 ..
|
||||
|
Loading…
Reference in New Issue
Block a user