summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix remaining testsAnton Danilkin2021-05-051-32/+34
|/
* Merge branch 'ci-test-x11' into 'master'Uli Schlachter2021-04-301-3/+16
|\ | | | | | | | | CI: Check test results for cairo-xcb and cairo-x11 See merge request cairo/cairo!165
| * script: Also ignore {xcb,xlib}-surface-sourceUli Schlachter2021-04-251-1/+1
| | | | | | | | Signed-off-by: Uli Schlachter <psychon@znc.in>
| * .gitlab-ci.yml: Ignore current X11 test failuresUli Schlachter2021-04-251-0/+12
| | | | | | | | Signed-off-by: Uli Schlachter <psychon@znc.in>
| * CI: Run tests with an X11 serverUli Schlachter2021-04-251-2/+3
| | | | | | | | | | | | | | Running the test suite with an X11 server allows testing cairo-x11 and cairo-xcb. Signed-off-by: Uli Schlachter <psychon@znc.in>
* | Merge branch 'mac-tests' into 'master'Uli Schlachter2021-04-261-0/+6
|\ \ | |/ |/| | | | | Run the test suite on MacOS See merge request cairo/cairo!160
| * Run the test suite on MacOSUli Schlachter2021-04-221-0/+6
| | | | | | | | | | | | | | This adds the necessary commands to run the test suite on MacOS in CI and to also ignore the current failures. Signed-off-by: Uli Schlachter <psychon@znc.in>
* | Ignore create-for-stream failure with svgUli Schlachter2021-04-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The create-for-stream test verifies that writing something to a file and writing it to an in-memory surface produces the same output. The test currently fails when the svg backend is tested with: TEST: create_for_stream TARGET: pdf RESULT: PASS svg: Stream based output differ from file output for output/create-for-stream.out.svg. TEST: create_for_stream TARGET: svg RESULT: FAIL I guess this is because svg uses unique IDs for surfaces, meaning that drawing two times the same thing in the same process can produce different outputs. However, this is just a guess and I didn't investigate further. Signed-off-by: Uli Schlachter <psychon@znc.in>
* | Add hack to ignore a svg test crashesUli Schlachter2021-04-181-0/+1
| | | | | | | | | | | | | | This adds a special hack to the test suite to ignore the crashes for self-copy and self-copy-overlap for the svg backend in CI. Signed-off-by: Uli Schlachter <psychon@znc.in>
* | Ignore current svg failures in CIUli Schlachter2021-04-181-0/+4
| | | | | | | | Signed-off-by: Uli Schlachter <psychon@znc.in>
* | Install gtk2-devel on CIUli Schlachter2021-04-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From config.log from CI: configure:27855: $PKG_CONFIG --exists --print-errors "$librsvg_DEPENDENCY gdk-2.0" Package gdk-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gdk-2.0', required by 'virtual:world', not found configure:27858: $? = 1 Package 'gdk-2.0', required by 'virtual:world', not found configure:27885: result: no configure:27921: WARNING: SVG backend will not be tested since librsvg >= 2.35.0 is not available According to Google, it seems like gtk2-devel is the right package to get gdk-2.0.pc. Thanks a lot to @tpm for explaining that I also have to change the TAG variable. Signed-off-by: Uli Schlachter <psychon@znc.in>
* | Add config.log to build artefactsUli Schlachter2021-04-181-0/+1
|/ | | | | | | | This fail is not large, so doesn't "cost much", but it helps in figuring out build problems in CI like "what exactly is missing for the SVG backend?". Signed-off-by: Uli Schlachter <psychon@znc.in>
* test-suite: Add a new mechanism for XFAILsUli Schlachter2021-04-171-2/+13
| | | | | | | | | | | | | | | | | | | | | This commit adds a new mechanism to mark tests as expected to fail via an environment variable. For example, if you expect the tests "foo" and "bar" to fail when run under image.argb32, you would set CAIRO_TEST_IGNORE_image_argb32=foo,bar The test suite then expects these tests to fail and treats this as xfail. If they do not fail, this is a failure on its own. This new feature is explicitly not documented much, because it is only used as a stopgap measure to make our CI more useful: Right now the test suite runs on CI, but the result is ignored. This new feature allows to mark the known failures as xfail without too much work. When the situation changes, this will be noticed as a new test suite failure. Thus, these environment variables to not run into the danger of still containing tests that were already fixed. Signed-off-by: Uli Schlachter <psychon@znc.in>
* ci: bump windows image to latest version to fix github ssl certificate issuesTim-Philipp Müller2021-03-201-1/+1
|
* ci: cleanup the autotools artifacts a bitJordan Petridis2021-03-041-0/+3
| | | | | | | Exclude .trace and .cs file from being exported. This brings down the generated artifacts size to 73mb. Close #465
* ci: update macos tags for newer vm imageTim-Philipp Müller2021-02-201-1/+1
| | | | cf. https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/389
* meson: fix macOS build and add macOS ciTim-Philipp Müller2021-01-041-0/+26
| | | | Fixes #441
* ci: add meson android aarch64 buildTim-Philipp Müller2020-12-311-0/+41
|
* ci: fix default options in meson ciTim-Philipp Müller2020-11-221-1/+1
| | | | Follow-up fix to !78
* ci: require opengl in meson fedora buildTim-Philipp Müller2020-11-171-1/+5
| | | | Follow-up to !78
* meson: align gl backend option defaults with autotoolsTim-Philipp Müller2020-11-171-0/+3
| | | | | | | | | | | | | | Disable gl backend by default, just like autotools does: --enable-gl=[no/auto/yes] Enable cairo's OpenGL surface backend feature [default=no] --enable-glesv2=[no/auto/yes] Enable cairo's OpenGLESv2 surface backend feature [default=no] --enable-glesv3=[no/auto/yes] Enable cairo's OpenGLESv3 surface backend feature [default=no]
* port the CI setup to freedesktop/citemplatesJordan Petridis2020-09-291-27/+79
| | | | | | | | | | | rework the whole CI setup to take advantage of citemplates for building managing the docker images. also add a meson build job and rework the ccache config to be shared across autotools and meson. The jobs will not share ccache artifacts though. https://who-t.blogspot.com/2020/03/its-templates-all-way-down.html
* ci: add native Windows MSVC build with MesonTim-Philipp Müller2020-09-261-1/+66
|
* Make the test suite succeed on GitLab CIUli Schlachter2020-09-051-1/+2
| | | | | | | | | | | | | This commit makes the test suite pass by simply ignoring failures. Not pretty, but better than teaching people to just ignore CI failures. At least some kinds of problems can still be caught. Originally, I wanted to only run a single test, but while investigating how to do this, I stumbled upon this undocumented environment variable. This seems less ugly and might allow looking at older build logs to figure out when something first broke. Signed-off-by: Uli Schlachter <psychon@znc.in>
* .gitlab-ci.yml: Temporarily switch to Fedora rawhideUli Schlachter2019-03-251-1/+4
| | | | | | | | Since commit a34cb719cd9cb4f0, we need pixman >= 0.36, which is not yet in the latest Fedora. Thus, this switches to Fedora rawhide to make things work again. Signed-off-by: Uli Schlachter <psychon@znc.in>
* Remove all traces of NUM_THREADSUli Schlachter2018-12-161-1/+1
| | | | | | | | | | The code that looked at CAIRO_TEST_NUM_THREADS was removed seven years ago in commit 6ef9779a6f5cb8, because it was dead code. I have not managed to figure out how long exactly this code was dead already. This commit removes the last traces of NUM_THREADS. Signed-off-by: Uli Schlachter <psychon@znc.in>
* .gitlab-ci.yml: Do a verbose buildUli Schlachter2018-12-161-1/+1
| | | | | | | | With VERBOSE=1, a lot more stuff is printed while make runs. Perhaps most interestingly, this prints the output of a failed test after the test failed. Thus, this gives us the output of the test suite. Signed-off-by: Uli Schlachter <psychon@znc.in>
* CI: Fix Docker image urisJordan Petridis2018-11-111-4/+4
| | | | Images where migrated a couple months ago to the GNOME gitlab instance.
* Add .gitlab-ci.yml to run the tests automaticallyFederico Mena Quintero2018-03-071-0/+46