[librest/wip/hadess/compilation-fixes: 2/2] ci: Enable examples




commit 88d8ef5aac6ed1918912c7f040c287a5ec0aac94
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 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a656e19..10ff914 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ variables:
   FLATPAK_MODULE: 'librest-demo'
   FLATPAK_BUILD_DIR: build
 
-image: fedora:34
+image: fedora:36
 
 stages:
   - build
@@ -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 gtksourceview5-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]