From 77e792dd65164bd9f52ce422dec38f3905ed8f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20L=C3=B6tscher?= Date: Sun, 3 Sep 2023 11:40:03 +0200 Subject: [PATCH] Fix pipeline (connect to X server) to make LuaTest work on Linux --- azure-pipelines/continuous-integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines/continuous-integration.yml b/azure-pipelines/continuous-integration.yml index 923513b24d85..b6835343c9f5 100644 --- a/azure-pipelines/continuous-integration.yml +++ b/azure-pipelines/continuous-integration.yml @@ -29,6 +29,9 @@ stages: displayName: 'Generate test locales' - bash: | cmake --build . --target test-units + Xvfb :99 & + export DISPLAY=:99 + sleep 3 # give xvfb some time to start CI=true ctest --verbose workingDirectory: ./build displayName: 'Run tests'