[librest/wip/nielsdg/meson] Add CI for the librest builds
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/nielsdg/meson] Add CI for the librest builds
- Date: Wed, 8 May 2019 18:31:51 +0000 (UTC)
commit 3005363bf17ee63d48bbb6857ad033d5e7167c58
Author: Niels De Graef <nielsdegraef gmail com>
Date: Wed May 8 19:17:19 2019 +0200
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.
.gitlab-ci.yml | 21 +++++++++++++++++++++
docs/meson.build | 2 +-
docs/reference/meson.build | 1 -
tests/custom-serialize.c | 2 +-
4 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..78f006e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,21 @@
+image: fedora:latest
+
+stages:
+ - build
+
+build-folks:
+ 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
+ - meson test -C _build
+ artifacts:
+ paths:
+ - "_build/meson-logs"
diff --git a/docs/meson.build b/docs/meson.build
index ead14c4..164cf27 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1 +1 @@
-subdir('reference')
+subdir('reference/rest')
diff --git a/tests/custom-serialize.c b/tests/custom-serialize.c
index c3fde93..b86e96c 100644
--- a/tests/custom-serialize.c
+++ b/tests/custom-serialize.c
@@ -27,7 +27,7 @@
#include <libsoup/soup.h>
#include <rest/rest-proxy.h>
-#define PORT 8080
+#define PORT 8088
#define REST_TYPE_CUSTOM_PROXY_CALL custom_proxy_call_get_type()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]