lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 4bd5a16c 3/4: Separate Xvfb launch into its o


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 4bd5a16c 3/4: Separate Xvfb launch into its own separate build step
Date: Sat, 12 Feb 2022 19:54:43 -0500 (EST)

branch: master
commit 4bd5a16c6db175e865bf93e19536a9106c6fba37
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Separate Xvfb launch into its own separate build step
    
    This somehow fixes the inexplicable errors due to not being able to open
    the display when running wine in the same step.
---
 .github/workflows/ci.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 24838a67..c353a7aa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -381,10 +381,9 @@ jobs:
             make $coefficiency unit_tests
           fi
 
-      - name: Run GUI tests
+      - name: Launch Xvfb
         if: matrix.mingw
         run: |
-            echo 'Launching Xvfb...'
             sudo mkdir /tmp/.X11-unix
             sudo chmod 1777 /tmp/.X11-unix
             Xvfb :10 -screen 0 1600x1200x24 &
@@ -408,7 +407,10 @@ jobs:
                 echo "Still waiting for Xvfb (attempt #$num_tries)"
                 sleep 3
             done
-            echo 'Launching the GUI test:'
+            echo 'DISPLAY=:10' >> $GITHUB_ENV
+
+      - name: Run GUI tests
+        if: matrix.mingw
+        run: |
             . ./set_toolchain.sh
-            export DISPLAY=:10
             $PERFORM /opt/lmi/bin/wx_test --ash_nazg --data_path=/opt/lmi/data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]