-
Notifications
You must be signed in to change notification settings - Fork 477
47 lines (37 loc) · 1 KB
/
ci-fuzz-micro.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
name: fuzz-micro-job
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
permissions:
contents: read
jobs:
fuzz:
runs-on: ci-test
if: ${{ github.repository != 'intel/pcm' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: recursive
- name: Build and test
run: |
cmake --version
set -o pipefail
mkdir build
cd build
bash ${{ github.workspace }}/tests/fuzz.sh 5 2>&1 | tee fuzz-log.txt
cd ..
- name: Show report
run: |
cat build/report.txt
echo "Fuzzing completed"
- name: upload-artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: fuzz-log-${{ github.sha }}
path: "build/fuzz-log.txt"