2020-03-25 01:19:35 +08:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
2020-02-21 08:17:50 +08:00
|
|
|
jobs:
|
2020-03-25 01:19:35 +08:00
|
|
|
fuzzing:
|
2020-02-21 08:17:50 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Build Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'curl'
|
2020-02-28 17:29:14 +08:00
|
|
|
dry-run: false
|
2020-03-25 01:19:35 +08:00
|
|
|
|
2020-02-21 08:17:50 +08:00
|
|
|
- name: Run Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'curl'
|
2020-04-03 01:12:24 +08:00
|
|
|
fuzz-seconds: 2400
|
2020-02-28 17:29:14 +08:00
|
|
|
dry-run: false
|
2020-03-25 01:19:35 +08:00
|
|
|
|
2020-02-21 08:17:50 +08:00
|
|
|
- name: Upload Crash
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
if: failure()
|
|
|
|
with:
|
|
|
|
name: artifacts
|
|
|
|
path: ./out/artifacts
|