-
Notifications
You must be signed in to change notification settings - Fork 188
45 lines (39 loc) · 1.21 KB
/
coverage_report_clusterfuzz.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Creates a coverage report using only the ClusterFuzz corpus.
# This complements our main coverage report, which only uses local test
# vectors. As ClusterFuzz continually finds new things to fuzz, we run
# this script daily.
name: Coverage Report (ClusterFuzz)
on:
schedule:
- cron: 30 11 * * *
push:
workflow_dispatch:
jobs:
coverage-report-clusterfuzz:
name: Coverage Report (ClusterFuzz)
runs-on: ubuntu-latest
env:
MACHINE: linux_clang_haswell
EXTRAS: llvm-cov
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/deps
- uses: ./.github/actions/hugepages
- name: Build
run: make -j fuzz-test
- name: Replace corpus dir
run: contrib/test/fetch_clusterfuzz_corpus.sh
- name: Generate all coverage
run: |
make run-fuzz-test
make build/linux/clang/haswell/cov/cov.lcov
- name: Upload coverage report to CodeCov
uses: codecov/codecov-action@v3
timeout-minutes: 5
with:
files: build/linux/clang/haswell/cov/cov.lcov
name: dist-cov-report-cf
functionalities: search
flags: clusterfuzz