fuzz: avoid building twice, when running on gitlab
commit3973e7ae63cdbd974731e590fcca694d46a82bd2
authorAlexander Bulekov <alxndr@bu.edu>
Mon, 9 Aug 2021 11:16:21 +0000 (9 07:16 -0400)
committerThomas Huth <thuth@redhat.com>
Wed, 11 Aug 2021 11:40:01 +0000 (11 13:40 +0200)
treea8e661ccbd921155dad70cd81d3ed414bef365eb
parentb063c290f3d28a3142e90a1717b26b55ec1a7d17
fuzz: avoid building twice, when running on gitlab

On oss-fuzz, we build twice, to put together a build that is portable to
the runner containers. On gitlab ci, this is wasteful and contributes to
timeouts on the build-oss-fuzz job. Avoid building twice on gitlab, at
the remote cost of potentially missing some cases that break oss-fuzz
builds.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20210809111621.54454-1-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/oss-fuzz/build.sh