mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
CI(macOS): Split off obs-studio build task
Split off the obs-studio build task to help separate CI log sections.
This commit is contained in:
parent
08e86a1378
commit
640bcb90c6
@ -35,7 +35,9 @@ matrix:
|
||||
- os: osx
|
||||
env: _macos_build
|
||||
osx_image: xcode8.3
|
||||
before_install: "./CI/install-dependencies-macos.sh"
|
||||
before_install:
|
||||
- "./CI/install-dependencies-macos.sh"
|
||||
- "./CI/install-build-obs-macos.sh"
|
||||
script: "./CI/build-macos.sh"
|
||||
after_success:
|
||||
- ./CI/package-macos.sh
|
||||
|
14
CI/install-build-obs-macos.sh
Executable file
14
CI/install-build-obs-macos.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
# Build obs-studio
|
||||
cd ..
|
||||
git clone https://github.com/obsproject/obs-studio
|
||||
cd obs-studio
|
||||
OBSLatestTag=$(git describe --tags --abbrev=0)
|
||||
git checkout $OBSLatestTag
|
||||
mkdir build && cd build
|
||||
cmake .. \
|
||||
-DDISABLE_PLUGINS=true \
|
||||
-DCMAKE_PREFIX_PATH=/usr/local/opt/qt/lib/cmake \
|
||||
&& make -j4
|
@ -12,19 +12,8 @@ brew install qt5
|
||||
|
||||
#echo "Qt path: $(find /usr/local/Cellar/qt5 -d 1 | tail -n 1)"
|
||||
|
||||
# Build obs-studio
|
||||
cd ..
|
||||
git clone https://github.com/obsproject/obs-studio
|
||||
cd obs-studio
|
||||
git checkout 21.0.0
|
||||
mkdir build && cd build
|
||||
cmake .. \
|
||||
-DDISABLE_PLUGINS=true \
|
||||
-DCMAKE_PREFIX_PATH=/usr/local/opt/qt/lib/cmake \
|
||||
&& make -j4
|
||||
|
||||
# Packages app
|
||||
cd ..
|
||||
curl -L -O http://s.sudre.free.fr/Software/files/Packages.dmg -f --retry 5 -C -
|
||||
hdiutil attach ./Packages.dmg
|
||||
sudo installer -pkg /Volumes/Packages\ 1.2.3/packages/Packages.pkg -target /
|
||||
|
Loading…
x
Reference in New Issue
Block a user