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




commit 5c876822c1300a78540bdd8a7d0de914ab730c6d
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a656e19..620b24e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ build-librest:
       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
   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]