[NetworkManager-fortisslvpn/lr/test: 5/5] gitlab: enable gtk4 testing




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

    gitlab: enable gtk4 testing

 .gitlab-ci.yml | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 38f81b6..26200d2 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
 
@@ -34,9 +34,7 @@
   <<: *dist
   script:
     - dnf -y install make
-    - tar xJf NetworkManager-fortisslvpn-*.tar.xz
-    - cd NetworkManager-fortisslvpn-*/
-    - ./configure
+    - ./configure $EXTRA_CONFIGURE_FLAGS
       --disable-silent-rules
     - make -j
     - make -j check
@@ -44,20 +42,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]