Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmp_tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Commits
f7fd3c55
Commit
f7fd3c55
authored
1 year ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
Add github action for ClusterFuzzLite PR fuzzing
parent
96ae86cb
No related branches found
No related tags found
1 merge request
!32
Add fuzzing testing setup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/cflite_pr.yml
+47
-0
47 additions, 0 deletions
.github/workflows/cflite_pr.yml
with
47 additions
and
0 deletions
.github/workflows/cflite_pr.yml
0 → 100644
+
47
−
0
View file @
f7fd3c55
name
:
ClusterFuzzLite PR fuzzing
on
:
pull_request
:
paths
:
-
'
**'
permissions
:
read-all
jobs
:
PR
:
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
github-token
:
${{ secrets.GITHUB_TOKEN }}
sanitizer
:
${{ matrix.sanitizer }}
storage-repo
:
https://gh-action:${{ secrets.ACCESS_TOKEN_GITLAB_UNI }}@gitlab.phaidra.org/loidoltd15/cmp_tool_storage.git
storage-repo
:
https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
storage-repo-branch
:
main
storage-repo-branch-coverage
:
gh-pages
- name
:
Run Fuzzers (${{ matrix.sanitizer }})
id
:
run
uses
:
google/clusterfuzzlite/actions/run_fuzzers@v1
with
:
github-token
:
${{ secrets.GITHUB_TOKEN }}
fuzz-seconds
:
600
mode
:
'
code-change'
sanitizer
:
${{ matrix.sanitizer }}
output-sarif
:
true
# Optional but recommended: used to download the corpus produced by
# batch fuzzing.
# See later section on "Git repo for storage".
# storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git
# storage-repo-branch: main # Optional. Defaults to "main"
# storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment