]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: run all fuzz targets on CIFuzz
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 11 Feb 2022 02:01:33 +0000 (02:01 +0000)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 11 Feb 2022 13:21:24 +0000 (13:21 +0000)
CIFuzz has been kind of broken for a couple months because
coverage reports downloaded from OSS-Fuzz contain absolute
paths while paths to files changed in PRs are relative and they
don't match. It makes it kind of hard for CIFuzz to figure out
what it should run so it runs either all fuzz targets or just new
fuzz targets. Until that issue is fixed let's just always predictably run
all fuzz targets.

.github/workflows/cifuzz.yml

index 11ea788a476e6d9a5dda5049430676097e13eef7..f674d4314ff8a379e66c27d2d2e614873b744118 100644 (file)
@@ -39,6 +39,8 @@ jobs:
           oss-fuzz-project-name: 'systemd'
           dry-run: false
           allowed-broken-targets-percentage: 0
+          # keep-unaffected-fuzz-targets should be removed once https://github.com/google/oss-fuzz/issues/7011 is fixed
+          keep-unaffected-fuzz-targets: true
           sanitizer: ${{ matrix.sanitizer }}
       - name: Run Fuzzers (${{ matrix.sanitizer }})
         uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master