ci: add fuzzers build test

This commit is contained in:
Kacper Michajłow 2024-04-27 01:35:38 +02:00
parent 47dbc3a74e
commit fbfc9d22c7
1 changed files with 24 additions and 0 deletions

View File

@ -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: