mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 04:38:04 +02:00
Merge branch 'run-check-scripts-in-ci' into 'master'
Run test scripts in meson CI See merge request cairo/cairo!299
This commit is contained in:
commit
da5450e729
3 changed files with 15 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ grep . >&2 && stat=1
|
|||
|
||||
|
||||
echo 'Checking that there is no #include <cairo.*.h>'
|
||||
grep '#.*\<include\>.*<.*cairo' $ALL >&2 && stat=1
|
||||
grep '^[^*]#.*\<include\>.*<.*cairo' $ALL >&2 && stat=1
|
||||
|
||||
|
||||
echo 'Checking that feature conditionals are used with #if only (not #ifdef)'
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
* with this .c wrapper containing the gtkdocs for cairo-dwrite-font.cpp.
|
||||
*/
|
||||
|
||||
#include "cairoint.h"
|
||||
#include "cairo-win32-private.h"
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue