[network-manager-sstp/gtk4-work] Trying to fix the CI build



commit af4ccd1d158a0cbb8aedcd29e092aa61b4de6f5f
Author: Eivind Næss <eivnaes yahoo com>
Date:   Tue Apr 5 20:19:52 2022 -0700

    Trying to fix the CI build
    
    Signed-off-by: Eivind Næss <eivnaes yahoo com>

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 64de309..6388481 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,11 +57,14 @@ fedora28_dist:
     - dnf -y install
       /usr/bin/autopoint
       autoconf automake make
+      xorg-x11-server-Xvfb xorg-x11-xinit
       NetworkManager-devel
       NetworkManager-glib-devel
       libnm-gtk-devel
     - sh autogen.sh
-    - make -j distcheck
+    # The Xvfb dance below is because gtk4-builder-tool require a display
+    - xinit /bin/sh -c 'make -j distcheck && touch .success' -- /usr/bin/Xvfb :5
+    - test -e .success
   artifacts:
     paths:
       - "*.tar.bz2"


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