ci: test backend_session_libseat

This commit is contained in:
Victor Berger 2021-06-30 13:17:20 +02:00 committed by Victor Berger
parent 616bacdff2
commit 5cfb05cde8
1 changed files with 12 additions and 0 deletions

View File

@ -23,6 +23,7 @@ jobs:
- backend_udev - backend_udev
- backend_session - backend_session
- backend_session_logind - backend_session_logind
- backend_session_libseat
- renderer_gl - renderer_gl
- wayland_frontend - wayland_frontend
- xwayland - xwayland
@ -50,6 +51,17 @@ jobs:
- name: System dependencies - name: System dependencies
run: sudo apt-get update; sudo apt-get install libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libsystemd-dev libdbus-1-dev run: sudo apt-get update; sudo apt-get install libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libsystemd-dev libdbus-1-dev
- name: Build and install Libseat
if: matrix.features == 'backend_session_libseat'
run: |
sudo apt-get install meson ninja-build
wget https://git.sr.ht/~kennylevinsen/seatd/archive/0.5.0.tar.gz -O libseat-source.tar.gz
tar xf libseat-source.tar.gz
cd seatd-0.5.0
meson -Dbuiltin=enabled -Dserver=disabled -Dexamples=disabled -Dman-pages=disabled build .
ninja -C build
sudo meson install -C build
- name: Test features - name: Test features
if: matrix.features != 'all' if: matrix.features != 'all'
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1