History

ci: add fuzzers build test

Kacper Michajłow committed 2 years ago

Commit fbfc9d21 parent 47dbc3a1 file · +24 −0Browse files

Unified · Split

.github/workflows/build.yml+24−0
@@ -205,6 +205,30 @@ jobs: · 204 unmodified lines
205 run: |205 run: |
206 cat ./build/meson-logs/testlog.txt206 cat ./build/meson-logs/testlog.txt
207 207
208 linux-fuzz:
209 runs-on: "ubuntu-latest"
210 container:
211 image: "registry.opensuse.org/home/mia/images/images/mpv-ci:stable-deps"
212 env:
213 CC: "clang"
214 CXX: "clang++"
215 steps:
216 - uses: actions/checkout@v4
217
218 - name: Build with meson
219 id: build
220 run: |
221 meson setup build \
222 --werror \
223 -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \
224 -Dfuzzers=true -Dlibmpv=true -Dcplayer=false
225 meson compile -C build
226
227 - name: Print meson log
228 if: ${{ failure() && steps.build.outcome == 'failure' }}
229 run: |
230 cat ./build/meson-logs/meson-log.txt
231
208 linux-ffmpeg-4-4:232 linux-ffmpeg-4-4:
209 runs-on: ubuntu-22.04233 runs-on: ubuntu-22.04
210 container:234 container:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t