• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: CIFuzz
2
3on:
4  pull_request:
5    branches: [master]
6
7permissions:
8  contents: read
9
10jobs:
11  Fuzzing:
12    runs-on: ubuntu-latest
13    if: github.repository == 'secdev/scapy'
14    concurrency:
15      group: ${{ github.workflow }}-${{ github.ref }}
16      cancel-in-progress: true
17
18    steps:
19      - name: Build Fuzzers
20        id: build
21        uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
22        with:
23          oss-fuzz-project-name: 'scapy'
24          language: python
25          dry-run: false
26          allowed-broken-targets-percentage: 0
27      - name: Run Fuzzers
28        uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
29        with:
30          oss-fuzz-project-name: 'scapy'
31          language: python
32          dry-run: false
33          fuzz-seconds: 300
34      - name: Upload Crash
35        uses: actions/upload-artifact@v4
36        if: failure() && steps.build.outcome == 'success'
37        with:
38          name: artifacts
39          path: ./out/artifacts
40