diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-04-10 18:50:06 +0200 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-06-04 12:57:11 +0100 |
commit | 3aef853654c14e88c42cc630feffc74a413020f5 (patch) | |
tree | 9779c195b592ec2864f37bdda06d577e45269383 | |
parent | 122b390bbf4bf4283ef2a94f25a44ed23ead3e05 (diff) | |
download | cogl-3aef853654c14e88c42cc630feffc74a413020f5.tar.gz |
ci: Add naive CI
-rw-r--r-- | .gitlab-ci.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..0ef871b9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,44 @@ +image: fedora:rawhide + +variables: + DEPENDENCIES: + gcc + gtk-doc + make + autoconf + autoconf-archive + automake + gettext-devel + libtool + chrpath + pkgconfig(cairo) + mesa-libEGL-devel + pkgconfig(gbm) + pkgconfig(gdk-pixbuf-2.0) + pkgconfig(gl) + pkgconfig(glib-2.0) + pkgconfig(gobject-introspection-1.0) + pkgconfig(gtk-doc) + pkgconfig(libdrm) + pkgconfig(pango) + pkgconfig(xcomposite) + pkgconfig(xdamage) + pkgconfig(xext) + pkgconfig(xfixes) + pkgconfig(xrandr) + pkgconfig(wayland-server) + pkgconfig(wayland-client) + pkgconfig(wayland-cursor) + pkgconfig(wayland-egl) + pkgconfig(xkbcommon) + +build_stable: + before_script: + - dnf upgrade -y --nogpgcheck fedora-release fedora-repos* + - dnf update -y && dnf install -y $DEPENDENCIES + script: + - CPPFLAGS='-D_FORTIFY_SOURCE=2' ./autogen.sh --disable-dependency-tracking --enable-gtk-doc --enable-gtk-tests + - make + - make check + - make install + |