Draft: ci: add basic tests on macOS arm64
Purpose
The purpose of this new job is to catch macOS specific regressions asap. E.g. while upgrading dependencies for threadshare
in !1336 (merged), I broke macOS support and it showed up later in Cerbero IIRC (fixed in !1344 (merged)).
TODO:
-
Try again using pkg-config
packaged withgstreamer-1.0-*.pkg
. Not found. Manually adding/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/pkgconfig
toPKG_CONFIG_PATH
. -
brew
now providesgtk4
withglib-2.0
&gio-2.0
versions meeting requirements ofgtk4-rs
(>= 2.76.0), but the base-system from provides2.74.4
. Can't overriding the base system with libs frombrew
: objc[62396]: Class GNotificationCenterDelegate is implemented in both /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgio-2.0.0.dylib (0x105972350) and /opt/homebrew/Cellar/glib/2.80.0_2/lib/libgio-2.0.0.dylib (0x1053286b0). One of the two will be used. Which one is undefined. -
Can't compilegst-plugin-gtk4
with all-features sincebrew
doesn't provide X11 & wayland versions. -
Excludinggst-plugin-dav1d
because a version 1.1.0 comes withgstreamer-codec
anddav1d-rs
requires >= 1.3.0. -
Figure out if and how we could generate gst-plugin-csound
. It seems the package expects a different lib name than the one provided bybrew
. This has been fixed in a commit on the main branch but never released aiui. Excluding it for now. -
Fix @rpath
for tests execution. Ex.:dyld[55712]: Library not loaded: @rpath/libgstaudio-1.0.0.dylib
. Using env varDYLD_FALLBACK_LIBRARY_PATH
. -
It might be a good idea to build an image with gstreamer-1.0-devel-*.pkg
(andbrew
+pkg-config
if above item fails) >k4
installed. -
This uses tag
gst-mac-arm
, which I got from thecerbero
CI. We probably want different runners forgst-plugins-rs
. -
Restore trigger and other stages & platforms.
cc @alatiera
Edited by François Laignel