[librest/wip/hadess/compilation-fixes: 1/2] ci: Enable examples
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/hadess/compilation-fixes: 1/2] ci: Enable examples
- Date: Wed, 2 Feb 2022 10:40:01 +0000 (UTC)
commit 031670e9df5775c8e914b8050229f6a87a50757e
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 2 11:30:18 2022 +0100
ci: Enable examples
That should show that one of the demo pages fails to compile with soup2.
../examples/demo/demo-rest-page.c: In function ‘on_send_clicked’:
../examples/demo/demo-rest-page.c:498:24: error: too few arguments to function ‘soup_logger_new’
498 | SoupLogger *logger = soup_logger_new (SOUP_LOGGER_LOG_BODY);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/libsoup-2.4/libsoup/soup.h:31,
from ../examples/demo/demo-rest-page.c:23:
/usr/include/libsoup-2.4/libsoup/soup-logger.h:59:13: note: declared here
59 | SoupLogger *soup_logger_new (SoupLoggerLogLevel level,
| ^~~~~~~~~~~~~~~
.gitlab-ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a656e19..70912fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,8 +23,9 @@ build-librest:
- dnf -y install --nogpgcheck redhat-rpm-config
glib2-devel gobject-introspection-devel libxml2-devel meson ninja-build
libsoup-devel vala json-glib-devel git python3-jinja2 python3-toml python3-typogrify python3-pygments
+ libadwaita-devel
script:
- - meson _build -Dexamples=false
+ - meson _build -Dexamples=true
- ninja -C _build
- bash +x ./.gitlab-ci/run-tests.sh
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]