diff --git a/.github/workflows/test-for-ubuntu.yml b/.github/workflows/test-for-ubuntu.yml index 345d6ed..7424f10 100644 --- a/.github/workflows/test-for-ubuntu.yml +++ b/.github/workflows/test-for-ubuntu.yml @@ -23,7 +23,13 @@ jobs: - name: Install dependencies run: > sudo apt-get update && - sudo apt-get install -y libgtk-4-dev + sudo apt-get install -y libgtk-4-dev xvfb + + - name: Start Xvfb + run: Xvfb :99 -screen 0 1024x768x24 & + + - name: Set display + run: echo "DISPLAY=:99" >> $GITHUB_ENV - name: Configure CMake run: cmake -DCMAKE_C_COMPILER=${{matrix.c_compiler}} -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}