Skip to content

Commit

Permalink
Try xcfb-run directly without setup-xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
martinburchell committed Jul 10, 2023
1 parent e20e3ba commit b8efe6e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
${GITHUB_WORKSPACE}/.github/scripts/change_apt_mirror.sh
${GITHUB_WORKSPACE}/.github/scripts/add_apt_sources.sh
sudo apt-get -y install libxcb-icccm4 libxcb-xkb1 libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-randr0 libxcb-keysyms1 libxcb-xinerama0 libxcb-xinput-dev
sudo apt-get -y install xvfb x11-xserver-utils
- name: C++ tests
uses: coactions/setup-xvfb@v1
with:
run: ${GITHUB_WORKSPACE}/.github/scripts/cpp_tests.sh
run: |
set -eux -o pipefail
xcfb-run --auto-servernum ${GITHUB_WORKSPACE}/.github/scripts/cpp_tests.sh

0 comments on commit b8efe6e

Please sign in to comment.