未验证 提交 50163976 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[cmake] Enable cmake tests on distribution and test it (#664)

上级 7bfdf1a9
......@@ -59,7 +59,8 @@ jobs:
- 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: ./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:
docker:
......
# Process this file with automake to produce Makefile.in
NULL =
EXTRA_DIST =
SUBDIRS = api shaping fuzzing
EXTRA_DIST += \
CMakeLists.txt \
$(NULL)
# Convenience targets:
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)
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
EXTRA_DIST += CMakeLists.txt
EXTRA_DIST += hb-test.h
check_PROGRAMS = $(TEST_PROGS)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册