From de33d25ef47ee5637c94e3ff6d7df9935f222d3b Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Fri, 10 May 2019 09:37:19 +0200 Subject: Add CI for the librest builds Given that librest doesn't get a lot of attention anymore, it's useful to at least have this for the occasional contributor. https://gitlab.gnome.org/GNOME/librest/merge_requests/1 --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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" -- cgit v1.2.1