Skip to content

Clean up CI setup

Uli Schlachter requested to merge psychon/cairo:ci-test-cleanup into master
  • .gitlab-ci.yml shrinks from 71k to to 11k by moving the "lists of expected failures" to extra files.
  • Expected failures are now space separated instead of comma separated since that's the output that `cairo-test-suite´ produces.
  • Tests are now run in more-or-less one job per backend. This brings execution down from about 45 minutes to less than 20 minutes. (CC #472 )
    • Note that I do not really have much/any clue about GitLab CI. But this seems to work...?
    • Edit: To explain the more or less: For example, all of cairo-svg 1.1 and 1.2 are run in one Job. This could be split up further for potentially more speedup. This mainly affects cairo-xcb and cairo-xlib since they run tests for different supported RENDER versions and whether rendering is done to a window or a pixmap.
  • For whatever reason, xcb-huge-image-shm now fails differently and the hack to skip this failure needs to be changed...?!?

I will not merge this branch myself unless someone says that I did not terrible misunderstand GitLab CI / that this is the way this stuff is supposed to work. Please at least leave a comment "looks fine to me".

Edited by Uli Schlachter

Merge request reports