From 3ff011341ebbb7d5b70f20c819b410918961f5c1 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 12 Feb 2024 12:44:00 +0100 Subject: [PATCH] CI mac: enforce /Library/Frameworks for Syphon In CI on x86_64, for some reason, the path defaults to /Library/Frameworks, while otherwhere to @rpath. So enforce to /Library/Frameworks to be deterministic. --- .github/scripts/macOS/install_others.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/scripts/macOS/install_others.sh b/.github/scripts/macOS/install_others.sh index 34b8595db..3bff98c18 100755 --- a/.github/scripts/macOS/install_others.sh +++ b/.github/scripts/macOS/install_others.sh @@ -105,15 +105,18 @@ install_soundfont() {( curl -L "$DEFAULT_SF_URL" -o "$sf_dir/default.${DEFAULT_SF_URL##*.}" )} -install_syphon() {( +install_syphon() { + syphon_dst=/Library/Frameworks +( git clone --depth 1 https://github.com/Syphon/Syphon-Framework.git cd Syphon-Framework - xcodebuild + xcodebuild LD_DYLIB_INSTALL_NAME=$syphon_dst/\ +Syphon.framework/Versions/A/Syphon sudo cp -R 'build/Release/Syphon.framework' \ - /usr/local/lib + $syphon_dst ) export COMMON_OSX_FLAGS="${COMMON_OSX_FLAGS+$COMMON_OSX_FLAGS }\ --F/usr/local/lib" +-F$syphon_dst" printf '%b' "COMMON_OSX_FLAGS=$COMMON_OSX_FLAGS\n" >> "$GITHUB_ENV" }