Use a container image instead of rebuilding it each time.
This steals some of the scripts from glib/.gitlab-ci/
and adjusts them a bit for the needs of at-spi2-core.
Current status:
- Like in glib, the maintainer creates a container image with the scripts provided, and uploads it to
registry.gitlab.gnome.org
. There are docs for this; I intend to expand docs about CI in general. - The pipeline indeed runs with that image; no packages get installed during the pipeline run.
- Fixed some nits in the CI scripts.
- The pipeline's runtime reduces from about 7 minutes to about 2 minutes, and doesn't fail intermittently when
zypper install
times out.
Next up:
- Fix the coverage job - I can get it to work if run by hand with some changes.
- Figure out the asan job.
- Add the documentation/deploy jobs.