[NetworkManager-pptp/lr/no-libnm-glib: 3/3] gitlab: enable gtk4 testing




commit 499bf80268d34e93a6c36d049426ef2cb8bad4ac
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Jun 28 10:51:45 2022 +0200

    gitlab: enable gtk4 testing

 .gitlab-ci.yml | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5f3a2d7..47d91f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@
 
 .fedora_deps: &fedora_deps
   before_script:
-    - dnf -y install
+    - dnf -y install $EXTRA_PACKAGES
       file
       findutils
       gcc
@@ -25,7 +25,7 @@
 .dist: &dist
   stage: test
   dependencies:
-    - fedora28_dist
+    - fedora36_dist
   variables:
     GIT_STRATEGY: none
 
@@ -36,7 +36,7 @@
     - dnf -y install make
     - tar xJf NetworkManager-pptp-*.tar.xz
     - cd NetworkManager-pptp-*/
-    - ./configure
+    - ./configure $EXTRA_CONFIGURE_FLAGS
       --disable-silent-rules
     - make -j
     - make -j check
@@ -44,20 +44,28 @@
     - make -j uninstall
 
 # Roll the distribution tarball
-fedora28_dist:
+fedora36_dist:
   <<: *fedora_deps
-  image: fedora:28
+  image: fedora:36
   stage: build
   script:
     - dnf -y install
       /usr/bin/autopoint
       autoconf automake make
+      gtk4-devel
     - sh autogen.sh
     - make -j dist
   artifacts:
     paths:
       - "*.xz"
 
-fedora_from_dist:
+fedora_28_from_dist:
+  <<: *fedora_from_dist
+  image: fedora:28
+
+fedora_latest_from_dist:
   <<: *fedora_from_dist
+  variables:
+    EXTRA_PACKAGES: libnma-gtk4-devel
+    EXTRA_CONFIGURE_FLAGS: --with-gtk4
   image: fedora:latest


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