[cmake] Enable cmake tests on distribution and test it (#664)
This commit is contained in:
parent
7bfdf1a941
commit
50163976d2
|
@ -59,7 +59,8 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- run: apt update && apt install -y pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev
|
- run: apt update && apt install -y pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev
|
||||||
- run: ./autogen.sh && make distdir
|
- run: ./autogen.sh && make distdir
|
||||||
- run: cd harfbuzz-* && ./configure && make && make check && make install
|
- run: cd harfbuzz-* && ./configure && make && make check && make install && make clean
|
||||||
|
- run: cd harfbuzz-* && cmake -DHB_HAVE_FREETYPE=ON -DHB_HAVE_GLIB=ON -DHB_BUILD_UTILS=ON -Bbuild -H. -GNinja && ninja -Cbuild && ninja -Cbuild test && ninja -Cbuild install
|
||||||
|
|
||||||
psvita:
|
psvita:
|
||||||
docker:
|
docker:
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
# Process this file with automake to produce Makefile.in
|
# Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
NULL =
|
||||||
|
EXTRA_DIST =
|
||||||
SUBDIRS = api shaping fuzzing
|
SUBDIRS = api shaping fuzzing
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
CMakeLists.txt \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
# Convenience targets:
|
# Convenience targets:
|
||||||
lib:
|
lib:
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib
|
@$(MAKE) $(AM_MAKEFLAGS) -C $(top_builddir)/src lib
|
||||||
|
|
|
@ -14,6 +14,7 @@ if HAVE_GLIB
|
||||||
AM_CPPFLAGS = -DSRCDIR="\"$(srcdir)\"" -I$(top_srcdir)/src/ -I$(top_builddir)/src/ $(GLIB_CFLAGS)
|
AM_CPPFLAGS = -DSRCDIR="\"$(srcdir)\"" -I$(top_srcdir)/src/ -I$(top_builddir)/src/ $(GLIB_CFLAGS)
|
||||||
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
|
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
|
||||||
|
|
||||||
|
EXTRA_DIST += CMakeLists.txt
|
||||||
EXTRA_DIST += hb-test.h
|
EXTRA_DIST += hb-test.h
|
||||||
|
|
||||||
check_PROGRAMS = $(TEST_PROGS)
|
check_PROGRAMS = $(TEST_PROGS)
|
||||||
|
|
Loading…
Reference in New Issue