File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2121 - name : Install dependencies
2222 run : |
2323 sudo apt-get update
24- sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev
24+ sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev xvfb libxcb-cursor0
2525 shell : bash
2626 - name : Install Qt
2727 uses : jurplel/install-qt-action@v3
3131 run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
3232
3333 - name : Build
34- run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
34+ run : xvfb-run cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
3535
Original file line number Diff line number Diff line change 2121 - name : Install dependencies
2222 run : |
2323 sudo apt-get update
24- sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev
24+ sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev libgd-dev xvfb libxcb-cursor0
2525 shell : bash
2626 - name : Install Qt
2727 uses : jurplel/install-qt-action@v3
3131 run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSCRATCHCPPGUI_BUILD_UNIT_TESTS=ON
3232
3333 - name : Build
34- run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
34+ run : xvfb-run cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
3535
3636 - name : Run unit tests
37- run : ctest --test-dir build -V
37+ run : xvfb-run ctest --test-dir build -V
3838
You can’t perform that action at this time.
0 commit comments