Skip to content

Commit

Permalink
Adjust fuzzing to run on main branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane committed Nov 28, 2022
1 parent 46c43ee commit f6689ba
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/cifuzz.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Fuzzing
on:
push:
branches: ["master"]

jobs:
fuzzing:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: "libmodbus"
dry-run: false
language: c
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: "libmodbus"
fuzz-seconds: 300
dry-run: false
language: c
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts

0 comments on commit f6689ba

Please sign in to comment.