summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLeo Neat <[email protected]>2020-02-21 15:27:53 -0800
committerLeo Neat <[email protected]>2020-02-21 15:27:53 -0800
commit4713502083b11bd595558c5ea43a1291f7bd4123 (patch)
treedf5ae286f76964e7552de18efae0cee3abe4fa05
parent0301d8a89bb802b04a5d34a1c2376875338d3655 (diff)
downloadmruby-4713502083b11bd595558c5ea43a1291f7bd4123.tar.gz
mruby-4713502083b11bd595558c5ea43a1291f7bd4123.zip
CIFuzz action
-rw-r--r--.github/workflows/main.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 000000000..3c1a7e07e
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,24 @@
+name: CIFuzz
+on: [pull_request]
+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: 'mruby'
+ dry-run: false
+ - name: Run Fuzzers
+ uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'mruby'
+ fuzz-seconds: 600
+ dry-run: false
+ - name: Upload Crash
+ uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: artifacts
+ path: ./out/artifacts
+