Skip to content

Commit 2b7210a

Browse files
committed
Revert "deactivate fuzzing as it's not building anymore for unrelated reasons"
This reverts commit a661a8a.
1 parent c2d1a5d commit 2b7210a

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/cifuzz.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: CIFuzz
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths:
8+
- '.github/**'
9+
- 'ci/**'
10+
- 'etc/**'
11+
- 'src/**'
12+
- 'tests/**'
13+
- 'cargo-*/**'
14+
- 'gix*/**'
15+
- '*.toml'
16+
- Makefile
17+
workflow_dispatch:
18+
19+
jobs:
20+
Fuzzing:
21+
runs-on: ubuntu-latest
22+
23+
permissions:
24+
contents: none # The fuzzing actions don't use our github.token at all.
25+
26+
steps:
27+
- name: Build Fuzzers
28+
id: build
29+
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
30+
with:
31+
oss-fuzz-project-name: gitoxide
32+
language: rust
33+
34+
- name: Run Fuzzers
35+
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
36+
with:
37+
oss-fuzz-project-name: gitoxide
38+
language: rust
39+
fuzz-seconds: 600
40+
41+
- name: Upload Crash
42+
uses: actions/upload-artifact@v4
43+
if: failure() && steps.build.outcome == 'success'
44+
with:
45+
name: artifacts
46+
path: ./out/artifacts

0 commit comments

Comments
 (0)