gitlab-ci: Add meson build to pipeline test
authorDylan Baker <dylan@pnwbakers.com>
Fri, 31 Aug 2018 20:05:02 +0000 (13:05 -0700)
committerAdam Jackson <ajax@nwnk.net>
Thu, 29 Nov 2018 16:57:01 +0000 (16:57 +0000)
.gitlab-ci.yml

index b506ca3b13fb3cf8a225c942ddd3ffc630c03cca..e850b76ab0faf0aa95f4ebc03acb24ef99fd1c2d 100644 (file)
@@ -1,9 +1,19 @@
 image: fedora:28
 
-job:
+autotools-build:
     script:
     - dnf -y install dnf-plugins-core
     - dnf -y groupinstall buildsys-build
     - dnf -y builddep pixman
     - ./autogen.sh
-    - make -sj4 check
\ No newline at end of file
+    - make -sj4 check
+
+meson-build:
+    script:
+    - dnf -y install dnf-plugins-core
+    - dnf -y groupinstall buildsys-build
+    - dnf -y builddep pixman
+    - dnf -y install ninja-build
+    - python3 -m pip install meson>=0.47.2
+    - meson build
+    - ninja -C build test