Files
jellyfin-desktop/.github/workflows/test.yml
T
Andrew Rabert f204676e4b Fix some qt6 builds
- 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.
2025-11-23 02:09:33 -05:00

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