From fbfc9d22c7dda20492c8a87cb59e43f05557de7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 27 Apr 2024 01:35:38 +0200 Subject: [PATCH] ci: add fuzzers build test --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c949712024..57cd24b37e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -205,6 +205,30 @@ jobs: run: | cat ./build/meson-logs/testlog.txt + linux-fuzz: + runs-on: "ubuntu-latest" + container: + image: "registry.opensuse.org/home/mia/images/images/mpv-ci:stable-deps" + env: + CC: "clang" + CXX: "clang++" + steps: + - uses: actions/checkout@v4 + + - name: Build with meson + id: build + run: | + meson setup build \ + --werror \ + -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \ + -Dfuzzers=true -Dlibmpv=true -Dcplayer=false + meson compile -C build + + - name: Print meson log + if: ${{ failure() && steps.build.outcome == 'failure' }} + run: | + cat ./build/meson-logs/meson-log.txt + linux-ffmpeg-4-4: runs-on: ubuntu-22.04 container: