We'll need this for G_MUTEX_AUTO_LOCK(). It basically does
g_autoptr (GMutexLocker) G_GNUC_UNUSED var = g_mutex_locker_new (mutex)
which will let us remove static-scan's warnings about assigned
variables that are never read, e.g. it complains about "locker" here:
g_autoptr (GMutexLocker) locker = g_mutex_locker_new (&priv->shared.mutex);
The whole point of GMutexLocker is to be used with g_autoptr for a
mutex that is unlocked when its scope ends.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/581>
This uses grcov internally to generate the HTML report. We use grcov
instead of, say, lcov, because grcov actually generates accessible
pages.
We use the gnome-build-meta:core-nightly container image. It doesn't
contain grcov by default, but we download the binary from its github
page. We can change this later to build a custom container image for
gnome-calendar's own CI.
This will publish the report on
https://gnome.pages.gitlab.gnome.org/gnome-calendar/coverage/