Skip to content

Commit

Permalink
Use Xvfb instead of vnc (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
José Pereda authored Jul 20, 2022
1 parent eb757c2 commit 9aa5e2e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install at-spi2-core build-essential libgtk-3-dev libxtst-dev libavcodec-dev libavformat-dev libasound2-dev libgl-dev
sudo apt-get install xvfb tigervnc-standalone-server tigervnc-common
- uses: actions/checkout@v2

Expand Down Expand Up @@ -57,12 +56,8 @@ jobs:
if: runner.os == 'Linux'
run: |
export DISPLAY=:90
mkdir /home/runner/.vnc
echo 123456 | vncpasswd -f > /home/runner/.vnc/passwd
chmod -v 600 /home/runner/.vnc/passwd
vncserver :90 -localhost -nolisten tcp
Xvfb -ac :90 -screen 0 1280x1024x24 > /dev/null 2>&1 &
./gradlew -i test
vncserver -kill :90
- name: Run Tests (MacOS)
if: runner.os == 'macOS'
Expand Down

0 comments on commit 9aa5e2e

Please sign in to comment.