• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: CIFuzz
2on: [pull_request]
3permissions: read-all
4jobs:
5  Fuzzing:
6    runs-on: ubuntu-latest
7    steps:
8    - name: LLVM workaround
9      run: |
10        # https://github.com/actions/runner-images/issues/9491#issuecomment-1989718917
11        # Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
12        # high-entropy ASLR in much newer kernels that GitHub runners are
13        # using leading to random crashes: https://reviews.llvm.org/D148280
14        sudo sysctl vm.mmap_rnd_bits=28
15    - name: Build Fuzzers
16      uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
17      with:
18        oss-fuzz-project-name: 'nghttp2'
19        dry-run: false
20    - name: Run Fuzzers
21      uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
22      with:
23        oss-fuzz-project-name: 'nghttp2'
24        fuzz-seconds: 600
25        dry-run: false
26    - name: Upload Crash
27      uses: actions/upload-artifact@v4
28      if: failure()
29      with:
30        name: artifacts
31        path: ./out/artifacts
32