ci: Use meson in the CI

This commit is contained in:
Bastien Nocera
2020-06-26 17:08:09 +02:00
parent 62bdf03fab
commit e3e939bcae

View File

@@ -2,15 +2,16 @@ image: fedora:rawhide
variables: variables:
DEPENDENCIES: gcc gtk-doc pkgconfig(udev) pkgconfig(systemd) pkgconfig(gio-2.0) pkgconfig(gudev-1.0) systemd gtk3-devel DEPENDENCIES: gcc gtk-doc pkgconfig(udev) pkgconfig(systemd) pkgconfig(gio-2.0) pkgconfig(gudev-1.0) systemd gtk3-devel
make autoconf autoconf-archive automake libtool meson git
build_stable: build_stable:
before_script: before_script:
- dnf upgrade -y --nogpgcheck fedora-release fedora-repos* - dnf upgrade -y --nogpgcheck fedora-release fedora-repos*
- dnf update -y && dnf install -y $DEPENDENCIES - dnf update -y && dnf install -y $DEPENDENCIES
script: script:
- CPPFLAGS='-D_FORTIFY_SOURCE=2' ./autogen.sh --disable-dependency-tracking --enable-gtk-doc --enable-gtk-tests - meson -Dgtk_doc=true -Dgtk-tests=true _build
- make - ninja -v -C _build
- make check - ninja -v -C _build install
- make install - ninja -v -C _build uninstall
- ninja -v -C _build dist
- meson test -C _build