From db26977e55f872d0cfaa99eebd5d43995aad7a5c Mon Sep 17 00:00:00 2001 From: Dominik Loidolt <dominik.loidolt@univie.ac.at> Date: Sat, 20 Apr 2024 00:23:14 +0200 Subject: [PATCH] Add github action for continuous build task for fuzzing The continuous build task causes a build to be triggered and uploaded as a GitHub Actions artifact whenever a new push is done to main/default branch. Continuous builds are used when a crash is found during PR fuzzing to determine whether the crash was newly introduced. If the crash is not novel, PR fuzzing will not report it. This means that there will be fewer unrelated failures when running code change fuzzing. --- .github/workflows/cflite_build.yml: | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/cflite_build.yml: diff --git a/.github/workflows/cflite_build.yml: b/.github/workflows/cflite_build.yml: new file mode 100644 index 0000000..5827f05 --- /dev/null +++ b/.github/workflows/cflite_build.yml: @@ -0,0 +1,28 @@ +name: ClusterFuzzLite continuous builds +on: + push: + branches: + - master +permissions: read-all +jobs: + Build: + runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }} + cancel-in-progress: true + strategy: + fail-fast: false + matrix: + sanitizer: + - address + - undefined + - memory + steps: + - name: Build Fuzzers (${{ matrix.sanitizer }}) + id: build + uses: google/clusterfuzzlite/actions/build_fuzzers@v1 + with: + language: c + sanitizer: ${{ matrix.sanitizer }} + upload-build: true + -- GitLab