CI libajantv2: install in a common script

This commit is contained in:
Martin Pulec
2024-05-31 10:55:10 +02:00
parent 3cbd01a8e6
commit d3e7abf213
4 changed files with 18 additions and 33 deletions

View File

@@ -14,7 +14,6 @@ fi
# shellcheck source=/dev/null
. "$srcroot/.github/scripts/json-common.sh"
. "$srcroot/.github/scripts/functions.sh"
# Install XIMEA (see <dmg>/install.app/Contents/MacOS/install.sh)
install_ximea() {(
@@ -31,15 +30,6 @@ install_ximea() {(
umount /Volumes/XIMEA
)}
install_aja() {(
git clone --depth 1 https://github.com/aja-video/libajantv2.git
cd libajantv2
export MACOSX_DEPLOYMENT_TARGET=10.13 # neededd for arm64
cmake_aja -Bbuild -S.
cmake --build build -j "$(sysctl -n hw.ncpu)"
sudo cmake --install build
)}
install_deltacast() {
filename=videomaster-macos-dev.zip
if [ ! -f "$SDK_NONFREE_PATH/$filename" ]; then
@@ -122,7 +112,7 @@ if [ $# -eq 1 ] && { [ "$1" = -h ] || [ "$1" = --help ] || [ "$1" = help ]; }; t
fi
if [ $# -eq 0 ] || [ $show_help ]; then
set -- aja deltacast glfw live555 ndi soundfont syphon ximea
set -- deltacast glfw live555 ndi soundfont syphon ximea
fi
if [ $show_help ]; then