Files
libcoap/.github/workflows/cifuzz.yml
T
Jon Shallow c56ac32c86 cifuzz.yml: Run when code is pushed to develop or main etc.
Matches main.yml on: statement for push.

on: pull_request removed so that it is not run for every PR, just the
develop, main and release branches.
2022-11-22 14:17:25 +00:00

35 lines
776 B
YAML

name: CIFuzz
on:
push:
branches:
- main
- develop
- release-*
- gh-workflows
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: 'libcoap'
dry-run: false
language: c++
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'libcoap'
fuzz-seconds: 300
dry-run: false
language: c++
- name: Upload Crash
uses: actions/upload-artifact@v3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts