From 70b2d4f4926f21911288d0db928fd101280ce582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Thu, 12 Dec 2024 04:01:10 +0100 Subject: [PATCH] muon meme --- .github/workflows/build.yml | 49 +++++++++++++++++++++++++++++++++++++ meson.build | 1 - 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 468ccd9eaf828..7d3b34cd8a3b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -571,3 +571,52 @@ jobs: if: ${{ failure() && steps.tests.outcome == 'failure' }} run: | cat ./build/meson-logs/testlog.txt + + build-muon: + runs-on: ubuntu-latest + container: + image: alpine:edge + + strategy: + fail-fast: false + matrix: + cc: [clang, gcc] + + env: + CC: ${{ matrix.cc }} + + steps: + - name: Install dependencies + run: | + apk add ${{ matrix.cc }} libass-dev libplacebo-dev ffmpeg-dev python3 \ + pkgconf-dev curl-dev luajit-dev mujs-dev zimg-dev gnu-libiconv-dev \ + libarchive-dev libbluray-dev rubberband-dev pipewire-dev libcaca-dev \ + libdrm-dev libdisplay-info-dev libsixel-dev wayland-dev wayland-protocols \ + libxkbcommon-dev libxscrnsaver-dev libxpresent-dev libxrandr-dev mesa-dev \ + ffnvcodec-headers libva-dev + + - uses: actions/checkout@master + with: + repository: muon-build/muon + + - name: Install muon + run: | + ./bootstrap.sh build + ./build/muon-bootstrap setup build + ./build/muon-bootstrap -C build samu + ./build/muon-bootstrap -C build install + + - uses: actions/checkout@v4 + + - name: Configure + run: muon setup -Dlibmpv=true -Dtests=true build + + - name: Build + run: samu -C build + + - name: Tests + working-directory: build + run: muon test + + - name: Analyze meson.build + run: muon analyze diff --git a/meson.build b/meson.build index 64c49eb4b52a8..8e4031043f980 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,6 @@ project('mpv', version: files('./MPV_VERSION'), meson_version: '>=1.3.0', default_options: [ - 'backend_max_links=16', 'buildtype=debugoptimized', 'b_lundef=false', 'c_std=c11',