CI mac arm64: disable cineform+Deltacast

- cineform seems to be unsupported altogether
- Deltacast should work but it doesn't seem so
This commit is contained in:
Martin Pulec
2024-02-08 15:57:53 +01:00
parent d25d80939c
commit 3a076d2482
3 changed files with 10 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ export FEATURES="\
--enable-aja\
--enable-blank\
--enable-caca\
--enable-cineform\
--enable-decklink\
--enable-file\
--enable-gl\
@@ -81,4 +80,9 @@ case "$RUNNER_OS" in
return 1
;;
esac
if [ "$(uname -s)" != Darwin ] || [ "$(uname -m)" != arm64 ]; then
FEATURES="$FEATURES --enable-cineform"
fi
printf '%b' "FEATURES=$FEATURES\n" >> "$GITHUB_ENV"

View File

@@ -15,7 +15,10 @@ if ! command -v nproc >/dev/null; then
nproc() { sysctl -n hw.logicalcpu; } # mac
fi
is_arm() { expr "$(dpkg --print-architecture)" : arm >/dev/null; }
is_arm() {
uname_m=$(uname -m)
expr "$uname_m" : arm > /dev/null || [ "$uname_m" = aarch64 ]
}
is_win() { [ "$win" = yes ]; }
if is_win || [ "$(id -u)" -eq 0 ]; then

View File

@@ -38,7 +38,7 @@ install_aja() {(
install_deltacast() {(
DELTA_CACHE_INST=${SDK_NONFREE_PATH-nonexistent}/VideoMasterHD_inst
if [ ! -d "$DELTA_CACHE_INST" ]; then
if [ ! -d "$DELTA_CACHE_INST" ] || [ "$(uname -m)" = arm64 ]; then
return 0
fi
FEATURES="$FEATURES --enable-deltacast"