diff options
author | Martin Blanchard <tchaik@gmx.com> | 2019-02-19 19:26:49 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-11-20 13:41:50 +0100 |
commit | ef094855cf51655485ad538d086d92745acb897f (patch) | |
tree | 6ab1cccbac7e947bfd30187bb6a8069b09ce44b5 /.ci | |
parent | 62ad71f180fdd82ac845534025030c528493f8da (diff) | |
download | libgudev-ef094855cf51655485ad538d086d92745acb897f.tar.gz |
ci: Use meson and publish documentation
Publish documentation on GitLab pages as meson does not embed generated
documentation in distribution tarballs. Pages URL:
https://gnome.pages.gitlab.gnome.org/libgudev/libgudev
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/check-abi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.ci/check-abi b/.ci/check-abi index f511e10..f2f27a7 100755 --- a/.ci/check-abi +++ b/.ci/check-abi @@ -65,13 +65,14 @@ def build_install(revision): rm_rf(build_dir) rm_rf(revision) - subprocess.check_call(['./autogen.sh', + subprocess.check_call(['meson', 'setup', build_dir, '--prefix=/usr', - '--libdir=/usr/lib/', - '--disable-gtk-doc', - '--disable-umockdev']) - subprocess.check_call(['make']) - subprocess.check_call(['make', 'install'], + '--libdir=lib', + '-Dintrospection=disabled', + '-Dvapi=disabled', + '-Dgtk_doc=false']) + subprocess.check_call(['meson', 'compile', '-C', build_dir]) + subprocess.check_call(['meson', 'install', '-C', build_dir], env={'DESTDIR': dest_dir}) return dest_dir |