Skip to content

Commit 6db16f9

Browse files
committed
wayland
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
1 parent 3b521f6 commit 6db16f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
if: startsWith(matrix.platform.os, 'ubuntu')
6060
run: |
6161
sudo apt update
62-
sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev xvfb weston -y
62+
sudo apt install gcc libxxf86vm-dev libosmesa6-dev libgles2-mesa-dev xvfb mutter pipx -y
63+
pipx install git+https://gitlab.gnome.org/creiter/wayland-run
6364
- name: Install rust
6465
id: toolchain
6566
uses: dtolnay/rust-toolchain@stable
@@ -72,8 +73,7 @@ jobs:
7273
- name: Test
7374
if: ${{ matrix.platform.test && startsWith(matrix.platform.os, 'ubuntu') }}
7475
run: |
75-
weston --no-config --socket=wl-test-env --backend=headless &
76-
WAYLAND_DISPLAY=wl-test-env xvfb-run cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
76+
wayland-run cargo test --features "${{ matrix.features }}" --target ${{ matrix.platform.target }}
7777
- name: Test
7878
if: ${{ matrix.platform.test && !startsWith(matrix.platform.os, 'ubuntu') }}
7979
run: |

0 commit comments

Comments
 (0)