mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
- Fixes build and package for at least Ubuntu 24.04 - Defaulted to building and statically linking mpvqt as most platforms lack packages for it. - Workaround mpvqt requiring qt>=6.5 for wayland support with a few workarounds when statically building. - Additionally, default to xcb on qt<6.5 due to mpvqt using qt>=6.5 fetures for wayland. Wayland can be forced, but seems to give black video.
33 lines
628 B
YAML
33 lines
628 B
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install build dependencies from debian/control
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install --yes devscripts equivs
|
|
sudo mk-build-deps -i -r -t "apt-get --yes" debian/control
|
|
|
|
- name: Configure
|
|
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
- name: Build
|
|
run: cmake --build build
|
|
|
|
- name: Run tests
|
|
run: |
|
|
cd build
|
|
ctest --output-on-failure
|