2021-10-25 18:32:35 +03:00
|
|
|
name: CIFuzz
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
|
|
Fuzzing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
sanitizer: [address]
|
|
|
|
steps:
|
|
|
|
- name: Build Fuzzers (${{ matrix.sanitizer }})
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'go-sqlite3'
|
|
|
|
dry-run: false
|
|
|
|
sanitizer: ${{ matrix.sanitizer }}
|
|
|
|
- name: Run Fuzzers (${{ matrix.sanitizer }})
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'go-sqlite3'
|
|
|
|
fuzz-seconds: 600
|
|
|
|
dry-run: false
|
|
|
|
sanitizer: ${{ matrix.sanitizer }}
|
|
|
|
- name: Upload Crash
|
2024-11-26 18:16:45 +03:00
|
|
|
uses: actions/upload-artifact@v4
|
2021-10-25 18:32:35 +03:00
|
|
|
if: failure()
|
|
|
|
with:
|
|
|
|
name: ${{ matrix.sanitizer }}-artifacts
|
|
|
|
path: ./out/artifacts
|