Skip to content

Commit

Permalink
CI mac: enforce /Library/Frameworks for Syphon
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MartinPulec committed Feb 12, 2024
1 parent 93f9dd0 commit 3ff0113
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/scripts/macOS/install_others.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 3ff0113

Please sign in to comment.