diff options
author | Uli Schlachter <psychon@znc.in> | 2021-08-15 18:12:04 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2022-12-28 11:14:59 +0100 |
commit | c1aaaff880863419a08d44687451e5422d6090c3 (patch) | |
tree | 290c0e59868893e0c8e0cddfb76fd08b428a78f3 /.gitlab-ci.yml | |
parent | 0e56ea9d5cce1a53294ccb06f56c68e581d2a62d (diff) | |
download | cairo-c1aaaff880863419a08d44687451e5422d6090c3.tar.gz |
Test cairo-ps in CI
This adds the necessary dependencies for testing cairo-ps to CI and sets
up jobs for testing the ps2 and ps3 backends.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f3ff2396..cc7a9e3d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ include: variables: FDO_UPSTREAM_REPO: 'cairo/cairo' FDO_DISTRIBUTION_VERSION: '34' - FDO_DISTRIBUTION_TAG: '2021-08-26.0' + FDO_DISTRIBUTION_TAG: '2021-09-20.0' # TODO: should probably get its own image at some point instead of reusing the GStreamer one # See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/.gitlab-image-tags.yml for latest @@ -73,6 +73,8 @@ fedora image: librsvg2-devel gtk2-devel poppler-glib-devel + libspectre-devel + ghostscript pixman-devel systemd-devel systemd-udev @@ -138,6 +140,24 @@ test fedora autotools pdf: - export CAIRO_TEST_TARGET=pdf - xvfb-run make check V=1 VERBOSE=1 +test fedora autotools ps2: + extends: '.test fedora autotools' + script: + - export CAIRO_TEST_IGNORE_ps2_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-ps2-argb32.txt) + - export CAIRO_TEST_IGNORE_ps2_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-ps2-rgb24.txt) + - export CAIRO_TEST_TARGET=ps2 + - export CAIRO_TEST_UGLY_HACK_TO_IGNORE_PS_FAILURES=1 + - xvfb-run make check V=1 VERBOSE=1 + +test fedora autotools ps3: + extends: '.test fedora autotools' + script: + - export CAIRO_TEST_IGNORE_ps3_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-ps3-argb32.txt) + - export CAIRO_TEST_IGNORE_ps3_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-ps3-rgb24.txt) + - export CAIRO_TEST_TARGET=ps3 + - export CAIRO_TEST_UGLY_HACK_TO_IGNORE_PS_FAILURES=1 + - xvfb-run make check V=1 VERBOSE=1 + test fedora autotools script: extends: '.test fedora autotools' script: |