Skip to content

ci: use a build matrix instead of anchors for parallel jobs.

James Henstridge requested to merge jamesh/pygobject:ci-matrix into main

Rather than using anchors and references to duplicate job details, use the matrix feature to expand the jobs. This MR keeps the same jobs as the existing pipeline, but this would make it trivial to e.g. test GTK 3 and 4 on every Python version.

I've also cleaned up a few obsolete pieces of gitlab-ci syntax: defaults moved from toplevel to default section, and when replaced with rules:if.

Edited by James Henstridge

Merge request reports

Loading