diff --git a/.gitea/workflows/probe.yml b/.gitea/workflows/probe.yml index ca96469..fd8a2a1 100644 --- a/.gitea/workflows/probe.yml +++ b/.gitea/workflows/probe.yml @@ -3,22 +3,16 @@ on: push: branches: ['probe/**'] jobs: - amd64: - runs-on: ubuntu-latest - container: - image: archlinux:latest - options: --platform linux/amd64 - steps: - - run: uname -m; cat /etc/os-release | head -2 fedora: runs-on: ubuntu-latest container: fedora:latest steps: - run: | - uname -m dnf install -y --setopt=install_weak_deps=False nodejs git gcc-c++ cmake ninja-build extra-cmake-modules \ - 'cmake(Qt6Core)' 'cmake(Qt6Quick)' 'cmake(Qt6QuickControls2)' 'cmake(Qt6Test)' \ + 'cmake(Qt6Core)' 'cmake(Qt6Quick)' 'cmake(Qt6QuickControls2)' 'cmake(Qt6Test)' 'cmake(Qt6Concurrent)' 'cmake(Qt6DBus)' \ 'cmake(KF6Kirigami)' 'cmake(KF6I18n)' 'cmake(KF6CoreAddons)' 'cmake(KF6Crash)' 'cmake(KF6Config)' \ 'cmake(MpvQt)' 'cmake(QCoro6)' 'cmake(Qt6Keychain)' \ - 'pkgconfig(libavformat)' 'pkgconfig(libavcodec)' 'pkgconfig(libavutil)' > /tmp/dnf.log 2>&1; echo dnf=$?; tail -5 /tmp/dnf.log - rpm -q qt6-qtbase kf6-kirigami mpvqt qcoro-qt6 2>&1 + 'pkgconfig(libavformat)' 'pkgconfig(libavcodec)' 'pkgconfig(libavutil)' > /tmp/dnf.log 2>&1 || { tail -30 /tmp/dnf.log; exit 1; } + - uses: actions/checkout@v4 + - run: cmake -B build -G Ninja -DBUILD_TESTING=ON && cmake --build build + - run: QT_QPA_PLATFORM=offscreen ctest --test-dir build --output-on-failure