From: Stéphane Graber Date: Thu, 19 Dec 2024 03:18:26 +0000 (-0500) Subject: github: Cleanup OSS-fuzz X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fef63526892aa1ca840c29cd740707f43779ebd;p=thirdparty%2Flxc.git github: Cleanup OSS-fuzz Signed-off-by: Stéphane Graber --- diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/fuzzing.yml similarity index 73% rename from .github/workflows/cifuzz.yml rename to .github/workflows/fuzzing.yml index f45597d61..016e2d0f3 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/fuzzing.yml @@ -1,28 +1,24 @@ -name: Fuzzing with OSS-fuzz +name: Fuzzing on: push: - pull_request: - paths: - - '**/meson.build' - - '.github/workflows/**' - - 'meson_options.txt' - - 'src/**' branches: - - main + permissions: contents: read + jobs: - Fuzzing: + fuzzing: + name: OSS-Fuzz runs-on: ubuntu-24.04 if: github.repository == 'lxc/lxc' strategy: fail-fast: false matrix: - sanitizer: [address, undefined, memory] + sanitizer: + - address + - undefined + - memory steps: - - name: Install dependencies not yet listed in ubuntu pkg source - run: | - sudo apt-get install -qq libdbus-1-dev - name: Build Fuzzers (${{ matrix.sanitizer }}) id: build uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master @@ -31,6 +27,7 @@ jobs: dry-run: false allowed-broken-targets-percentage: 0 sanitizer: ${{ matrix.sanitizer }} + - name: Run Fuzzers (${{ matrix.sanitizer }}) uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master with: @@ -38,6 +35,7 @@ jobs: fuzz-seconds: 360 dry-run: false sanitizer: ${{ matrix.sanitizer }} + - name: Upload Crash uses: actions/upload-artifact@v4 if: failure() && steps.build.outcome == 'success'