summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2022-03-12 08:28:28 +0100
committerUli Schlachter <psychon@znc.in>2022-07-14 18:21:23 +0200
commit913f4767e75ae5d7c6687e81eb54894562b5173d (patch)
treed963ccb01db42cea0dc536469859bb825bfcbf5a /.gitlab-ci.yml
parent74f2da7b70179a363b5a4649b9c5d6fd18d9cbc0 (diff)
downloadcairo-913f4767e75ae5d7c6687e81eb54894562b5173d.tar.gz
Run test scripts in meson CI
The autofoo build is on its way out and I am too lazy to properly integrate these scripts with the meson build. Thus, this commit just adds them to one single CI build. At least those that can relatively easily be made to work. The others are left as comments. Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a80f39a35..7fa840856 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -213,6 +213,19 @@ fedora meson build:
- meson builddir ${MESON_ARGS}
- ninja -C builddir
# - ninja -C builddir test
+
+ # Run test scripts
+ #- (cd builddir/src && srcdir=../../src bash "$srcdir/check-def.sh") This script calls "make cairo.def" and thus does not work with meson
+ - mkdir builddir/src/.libs
+ - touch builddir/src/.libs/libfoo.so
+ - MAKE=echo CAIRO_HAS_HIDDEN_SYMBOLS=1 bash src/check-plt.sh builddir/src/libcairo.so
+ - (cd src && bash "check-headers.sh")
+ - (cd src && bash "check-preprocessor-syntax.sh")
+ - (cd src && bash "check-doc-syntax.sh")
+ - (cd doc/public && bash "check-doc-syntax.sh")
+ # FIXME: The following line really needs gtk-doc to run first
+ - (cd doc/public && DOC_MODULE=cairo bash "check-doc-coverage.sh")
+
- ninja -C builddir install
artifacts:
expire_in: "7 days"