Skip to content

Commit

Permalink
ci: enable linux display test
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Dec 27, 2023
1 parent e4580f5 commit 36bb370
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ jobs:
- ubuntu-latest
- macos-latest

exclude:
- platform: ubuntu-latest
test-type: with-display

runs-on: ${{ matrix.platform }}

env:
Expand All @@ -46,9 +42,11 @@ jobs:
- name: non-Go linux display test dependencies
if: matrix.platform == 'ubuntu-latest' && matrix.test-type == 'with-display'
run: |
sudo apt-get install -qq libxss-dev gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev
# Start a virtual frame buffer.
sudo apt-get install -qq libxss-dev gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev xdotool x11-utils xdotool i3-wm
# Start a virtual frame buffer...
Xvfb :99 -screen 0 1920x1024x24 &
# and a window manager to give testers focus.
i3 &
- name: unit tests
if: matrix.test-type == 'general'
Expand Down

0 comments on commit 36bb370

Please sign in to comment.