From c1aaaff880863419a08d44687451e5422d6090c3 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 15 Aug 2021 18:12:04 +0200 Subject: 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 --- .gitlab-ci.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') 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: -- cgit v1.2.1