summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGünther Wagner <info@gunibert.de>2021-10-21 16:32:29 +0000
committerGünther Wagner <info@gunibert.de>2021-10-21 16:32:29 +0000
commitc10242ed45eb6bcb5f27a2a2e7b7eda944324179 (patch)
tree4c6ad28e608d054c3984cf274fcf672a6247e9eb /.gitlab-ci.yml
parent409dec8b596bb6cc3b8e25d0572bf5cd38130968 (diff)
parentddaa3514ab188eb313c302f26dd5c12916a3eced (diff)
downloadlibrest-c10242ed45eb6bcb5f27a2a2e7b7eda944324179.tar.gz
Merge branch 'wip/gwagner/meson' into 'master'
Port to the Meson build system See merge request GNOME/librest!7
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..53873dd
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,27 @@
+image: fedora:latest
+
+stages:
+ - build
+
+build-librest:
+ stage: build
+ except:
+ - tags
+ before_script:
+ - dnf update -y --nogpgcheck
+ - dnf -y install --nogpgcheck redhat-rpm-config
+ glib2-devel gobject-introspection-devel libxml2-devel meson ninja-build
+ libsoup-devel vala
+ script:
+ - meson _build
+ - ninja -C _build
+ - bash +x ./.gitlab-ci/run-tests.sh
+ artifacts:
+ reports:
+ junit: "_build/${CI_JOB_NAME}-report.xml"
+ name: "librest-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+ when: always
+ paths:
+ - "_build/config.h"
+ - "_build/meson-logs"
+ - "_build/${CI_JOB_NAME}-report.xml"