Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies through apt
run: |
sudo apt install -y --no-install-recommends \
sway \
sway mutter \
liblua5.3-dev libwayland-dev \
meson ninja-build cmake
lua -v
Expand All @@ -37,7 +37,7 @@ jobs:
ninja all
cp cffi.so ../..

- name: Run Tests
- name: Tests on SWAY
env:
WLR_BACKENDS: headless
WLR_RENDERER: pixman
Expand All @@ -48,7 +48,19 @@ jobs:
mkdir -p $XDG_RUNTIME_DIR
chmod 0700 $XDG_RUNTIME_DIR
sway -d &
sleep 20
sleep 10
cd tests
./run.sh
swaymsg exit || true

- name: Tests on MUTTER
run: |
export XDG_RUNTIME_DIR=/tmp/runtime
mkdir -p $XDG_RUNTIME_DIR
chmod 0700 $XDG_RUNTIME_DIR
mutter --wayland --sm-disable
sleep 10
cd tests
./run.sh
pkill mutter