summaryrefslogtreecommitdiff
path: root/.github/workflows/build_cmake.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build_cmake.yml')
-rw-r--r--.github/workflows/build_cmake.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 80e510b488..4e9f6f8e14 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -508,6 +508,10 @@ jobs:
set(ENV{CTEST_OUTPUT_ON_FAILURE} "ON")
+ if ("${{ runner.os }}" STREQUAL "Linux")
+ set(ENV{QT_QPA_PLATFORM} "offscreen")
+ endif()
+
execute_process(
COMMAND ctest -j ${N} --timeout 5
WORKING_DIRECTORY build/build