Skip to content
Snippets Groups Projects
Commit d7a09da2 authored by Egor Ivkov's avatar Egor Ivkov Committed by Dmitry Ivanov
Browse files

test/fuzz: check fuzz targets build in ci

NO_DOC=internal
NO_TEST=internal
NO_CHANGELOG=internal

(cherry picked from commit e67faee8)
parent de84d135
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,21 @@ coverage:
- export PATH="$PATH:$PWD" # for GLAuth (CMake will download it)
- make -f .test.mk test-coverage
# Check that fuzzing works
fuzz-check-build:
extends: .test
tags: [shell_p_t]
script:
# Clone oss-fuzz instead of adding it as a submodule
# as we don't want it to be checked by static analyzers - it's used only for fuzzing
- git clone https://github.com/google/oss-fuzz.git
- cd oss-fuzz
# Checkout a fixed oss-fuzz commit to guarantee reproducible builds
- git checkout e8e124996508f1e4ffe566896638c7213ab440d5
- python3 infra/helper.py build_image --no-pull --external ..
- python3 infra/helper.py build_fuzzers --external .. --sanitizer=address
- python3 infra/helper.py check_build --external .. --sanitizer=address
.pack:
tags:
- shell_p_t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment