Switch fuzzing to run on sanitizer build (#1035)

* Switch fuzzing to run on sanitizer build

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Remove fuzzing coverage from blocking reporting

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
This commit is contained in:
Alan Jowett 2022-04-30 17:16:43 -06:00 коммит произвёл GitHub
Родитель 24f098b869
Коммит 9c1bd80c6e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 16 добавлений и 16 удалений

4
.github/codecov.yml поставляемый
Просмотреть файл

@ -4,9 +4,9 @@
codecov:
notify:
wait_for_ci: yes
after_n_builds: 6 # (unit_tests, fuzzing, bpf2c) * (Debug, Release)
after_n_builds: 4 # (unit_tests, bpf2c) * (Debug, Release)
comment:
after_n_builds: 6 # (unit_tests, fuzzing, bpf2c) * (Debug, Release)
after_n_builds: 4 # (unit_tests, bpf2c) * (Debug, Release)
coverage:
status:
project:

28
.github/workflows/cicd.yml поставляемый
Просмотреть файл

@ -63,20 +63,6 @@ jobs:
gather_dumps: true
capture_etw: true
# Run the fuzzing tests in GitHub.
fuzzing:
# Always run this job.
if: github.event_name == 'schedule' || github.event_name == 'pull_request' || github.event_name == 'push'
uses: ./.github/workflows/reusable-test.yml
with:
name: fuzzing
test_command: fuzz.exe -d yes
build_job: regular / build
build_artifact: Build-x64
environment: windows-2019
code_coverage: true
gather_dumps: true
# Run the bpf2c tests in GitHub.
bpf2c:
# Always run this job.
@ -140,6 +126,20 @@ jobs:
build_artifact: Build-x64-Sanitize
build_options: /p:Sanitizer='True'
# Run the fuzzing tests in GitHub.
fuzzing:
# Always run this job.
if: github.event_name == 'schedule' || github.event_name == 'pull_request'
uses: ./.github/workflows/reusable-test.yml
with:
name: fuzzing
test_command: fuzz.exe -d yes
build_job: sanitize / build
build_artifact: Build-x64-Sanitize
environment: windows-2019
code_coverage: false
gather_dumps: true
# Run Cilium regression tests in GitHub.
cilium_tests:
# Only run on schedule and pull request.