2021-09-20 07:54:10 +08:00
|
|
|
# Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
|
|
# in the file LICENSE in the source distribution or at
|
|
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
|
2020-02-21 08:42:32 +08:00
|
|
|
name: CIFuzz
|
2021-06-11 13:13:02 +08:00
|
|
|
on: [pull_request, push]
|
2022-07-09 22:03:23 +08:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-02-21 08:42:32 +08:00
|
|
|
jobs:
|
|
|
|
Fuzzing:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Build Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'openssl'
|
2020-03-17 09:15:50 +08:00
|
|
|
dry-run: false
|
2020-02-21 08:42:32 +08:00
|
|
|
- name: Run Fuzzers
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
|
|
|
oss-fuzz-project-name: 'openssl'
|
|
|
|
fuzz-seconds: 600
|
2020-03-17 09:15:50 +08:00
|
|
|
dry-run: false
|
2020-02-21 08:42:32 +08:00
|
|
|
- name: Upload Crash
|
2023-12-18 17:58:53 +08:00
|
|
|
uses: actions/upload-artifact@v4
|
2020-02-21 08:42:32 +08:00
|
|
|
if: failure()
|
|
|
|
with:
|
|
|
|
name: artifacts
|
|
|
|
path: ./out/artifacts
|