mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 09:08:16 +02:00
Merge branch 'ci-tests-meson' into 'master'
Switch CI tests from autotools to meson See merge request cairo/cairo!300
This commit is contained in:
commit
1af1e11254
1 changed files with 46 additions and 37 deletions
|
|
@ -112,11 +112,11 @@ fedora autotools build:
|
|||
paths:
|
||||
- "*"
|
||||
|
||||
.test fedora autotools:
|
||||
.test fedora meson:
|
||||
dependencies:
|
||||
- 'fedora autotools build'
|
||||
- 'fedora meson build'
|
||||
needs:
|
||||
- 'fedora autotools build'
|
||||
- 'fedora meson build'
|
||||
extends:
|
||||
- '.fdo.distribution-image@fedora'
|
||||
- '.ccache_setup'
|
||||
|
|
@ -125,67 +125,73 @@ fedora autotools build:
|
|||
when: 'always'
|
||||
expire_in: "7 days"
|
||||
paths:
|
||||
- config.log
|
||||
- test/*.log
|
||||
- test/pdiff/*.log
|
||||
- test/output
|
||||
- builddir/meson-logs/*
|
||||
- builddir/test/*.log
|
||||
- builddir/test/pdiff/*.log
|
||||
- builddir/test/output
|
||||
exclude:
|
||||
- "test/**/*.cs"
|
||||
- "test/**/*.trace"
|
||||
- "builddir/test/**/*.cs"
|
||||
- "builddir/test/**/*.trace"
|
||||
|
||||
test fedora autotools pdf:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson pdf:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_IGNORE_pdf_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-pdf-argb32.txt)
|
||||
- export CAIRO_TEST_IGNORE_pdf_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-pdf-rgb24.txt)
|
||||
- export CAIRO_TEST_TARGET=pdf
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools ps2:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson ps2:
|
||||
extends: '.test fedora meson'
|
||||
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
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools ps3:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson ps3:
|
||||
extends: '.test fedora meson'
|
||||
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
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools script:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson script:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_UGLY_HACK_TO_SOMETIMES_IGNORE_SCRIPT_XCB_HUGE_IMAGE_SHM=1
|
||||
- export CAIRO_TEST_IGNORE_script_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-script-argb32.txt)
|
||||
- export CAIRO_TEST_TARGET=script
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools image:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson image:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_IGNORE_image_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-image-argb32.txt)
|
||||
- export CAIRO_TEST_IGNORE_image_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-image-rgb24.txt)
|
||||
- export CAIRO_TEST_IGNORE_image16_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-image16-rgb24.txt)
|
||||
- export CAIRO_TEST_TARGET=image,image16
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools recording:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson recording:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_IGNORE_recording_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-recording-argb32.txt)
|
||||
- export CAIRO_TEST_IGNORE_recording_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-recording-rgb24.txt)
|
||||
- export CAIRO_TEST_TARGET=recording
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools svg:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson svg:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_IGNORE_svg11_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-svg11-argb32.txt)
|
||||
- export CAIRO_TEST_IGNORE_svg11_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-svg11-rgb24.txt)
|
||||
|
|
@ -194,10 +200,11 @@ test fedora autotools svg:
|
|||
- export CAIRO_BOILERPLATE_DO_NOT_CRASH_ON_ANY2PPM_ERROR=1
|
||||
- export ANY2PPM="timeout 3m ./any2ppm"
|
||||
- ulimit -S -s 131072
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools xcb:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson xcb:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_IGNORE_xcb_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-xcb-argb32.txt)
|
||||
- export CAIRO_TEST_IGNORE_xcb_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-xcb-rgb24.txt)
|
||||
|
|
@ -207,10 +214,11 @@ test fedora autotools xcb:
|
|||
- export CAIRO_TEST_IGNORE_xcb_render_0_0_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-xcb-render-0-0-rgb24.txt)
|
||||
- export CAIRO_TEST_IGNORE_xcb_fallback_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-xcb-fallback-rgb24.txt)
|
||||
- export CAIRO_TEST_TARGET="xcb,xcb-window,xcb-window&,xcb-render-0_0,xcb-fallback"
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
test fedora autotools xlib:
|
||||
extends: '.test fedora autotools'
|
||||
test fedora meson xlib:
|
||||
extends: '.test fedora meson'
|
||||
script:
|
||||
- export CAIRO_TEST_IGNORE_xlib_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-xlib-argb32.txt)
|
||||
- export CAIRO_TEST_IGNORE_xlib_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-xlib-rgb24.txt)
|
||||
|
|
@ -218,7 +226,8 @@ test fedora autotools xlib:
|
|||
- export CAIRO_TEST_IGNORE_xlib_render_0_0_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-xlib-render-0-0-rgb24.txt)
|
||||
- export CAIRO_TEST_IGNORE_xlib_fallback_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-xlib-fallback-rgb24.txt)
|
||||
- export CAIRO_TEST_TARGET="xlib,xlib-window,xlib-render-0_0,xlib-fallback"
|
||||
- xvfb-run make check V=1 VERBOSE=1
|
||||
- export srcdir=../../test
|
||||
- (cd builddir/test && xvfb-run ./cairo-test-suite)
|
||||
|
||||
fedora meson build:
|
||||
extends:
|
||||
|
|
@ -253,7 +262,7 @@ fedora meson build:
|
|||
expire_in: "7 days"
|
||||
when: "always"
|
||||
paths:
|
||||
- 'builddir/meson-logs/'
|
||||
- "*"
|
||||
|
||||
meson mingw-32 build:
|
||||
extends:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue