CI: Add OBS browser + Apple silicon support #5063
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Complete build including OBS Browser native support on Apple silicon
Download artifacts from here: https://github.com/obsproject/obs-deps/pull/60/checks?check_run_id=2869389632
Unzip them and put them in the obs-build-dependencies dir (which lives next to the obs-studio checkout will need creating if never built before i.e. mkdir ../obs-build-dependencies)
Rename so they're in expected format:
Then extract them so they're in /tmp/obsdeps:
Copy cef_binary_90.6.7+g19ba721+chromium-90.0.4430.212_macosarm64_minimal.zip to obs-build-dependencies
Instructions here obsproject/obs-browser#310
Extract it and name extracted dir cef_binary_4430_macosarm64
Iterative builds for local testing can then by done by doing:
rm -rf build/OBS.app && ./CI/full-build-macos.sh -b && codesign --deep -f -s - build/OBS.appDescription
Update build scripts to include CEF
Motivation and Context
The other part of obsproject/obs-browser#310 to bring in OBS Browser support natively on Apple silicon
How Has This Been Tested?
M1 iMac and M1 MBP
11.5.1
Setup a session recording video + playing WebGL in OBS Browser
Types of changes
Checklist: