[libgweather/pgriffis/libsoup-ci: 70/70] ci: Build against both libsoup2 and libsoup3




commit b0f685dbb8ffa9690917f58e45a9464a154660f5
Author: Patrick Griffis <pgriffis igalia com>
Date:   Tue Sep 21 10:59:03 2021 -0500

    ci: Build against both libsoup2 and libsoup3

 .gitlab-ci.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index acd86b52..c2f74962 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,6 +104,52 @@ fedora-x86_64:
     MESON_VERSION: "0.55.3"
     MESON_EXTRA_FLAGS: "--buildtype=debug -Dwerror=true -Dgtk_doc=false"
 
+fedora-x86_64-soup3:
+  extends: .build-default
+  image: fedora:35
+  stage: build
+  needs: []
+  variables:
+    PROJECT_DEPS:
+      gcc-c++
+      gdk-pixbuf2-devel
+      geocode-glib-devel
+      gettext
+      git
+      gnutls-devel
+      gobject-introspection-devel
+      itstool
+      json-glib-devel
+      libnghttp2-devel
+      libpsl-devel
+      libsoup-devel
+      libxml2-devel
+      ninja-build
+      pylint
+      python3
+      python3-gobject
+      python3-pip
+      python3-wheel
+      redhat-rpm-config
+      sqlite-devel
+      vala
+    MESON_VERSION: "0.55.3"
+    MESON_EXTRA_FLAGS: "--buildtype=debug -Dwerror=true -Dgtk_doc=false -Dsoup2=false"
+  before_script:
+    - export PATH="$HOME/.local/bin:$PATH"
+    - dnf install -y python3 python3-pip python3-wheel gobject-introspection-devel graphviz ninja-build 
redhat-rpm-config
+    - dnf install -y ${PROJECT_DEPS}
+    - pip3 install --user meson==${MESON_VERSION} gi-docgen jinja2 Markdown markupsafe pygments toml 
typogrify
+    # Build libsoup3 and geocode-glib against libsoup3
+    - git clone --depth=1 https://gitlab.gnome.org/GNOME/libsoup.git && pushd libsoup
+    - meson _build --prefix=/usr -Dtls_check=false -Dgtk_doc=false
+    - ninja -C _build install
+    - popd
+    - git clone https://gitlab.gnome.org/GNOME/geocode-glib.git && pushd geocode-glib
+    - meson _build --prefix=/usr -Dsoup2=false -Dgtk_doc=false
+    - ninja -C _build install
+    - popd
+
 static-scan:
   extends: .build-setup
   stage: analysis


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]