File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ permissions : {}
4+
5+ on :
6+ pull_request :
7+ branches :
8+ - main
9+ paths-ignore :
10+ - ' **.md'
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 45
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }}
18+ cancel-in-progress : true
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ sanitizer :
23+ - address
24+ # - memory Too slow for CI
25+ - undefined
26+
27+ steps :
28+ - uses : actions/checkout@v6
29+ with :
30+ repository : google/oss-fuzz
31+ path : oss-fuzz
32+
33+ - name : Patch Dockerfile to use this ref
34+ run : |
35+ sed -i "s|git clone --depth 1 --branch main https://github.com/python/library-fuzzers.git|git clone --depth 1 --branch ${{ github.head_ref }} ${{ github.event.pull_request.head.repo.clone_url }} library-fuzzers|" \
36+ oss-fuzz/projects/python3-libraries/Dockerfile
37+
38+ - name : Build fuzzers
39+ run : |
40+ cd oss-fuzz
41+ python infra/helper.py build_fuzzers python3-libraries \
42+ --engine libfuzzer \
43+ --sanitizer ${{ matrix.sanitizer }} \
44+ --architecture x86_64
45+
46+ - name : Check build
47+ run : |
48+ cd oss-fuzz
49+ python infra/helper.py check_build python3-libraries \
50+ --engine libfuzzer \
51+ --sanitizer ${{ matrix.sanitizer }} \
52+ --architecture x86_64
You can’t perform that action at this time.
0 commit comments