-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.08 KB
/
fuzz.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
name: Fuzz
"on":
schedule:
- cron: "0 0 * * *"
jobs:
bytes:
name: Fuzz bytes
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
CARGO_NET_GIT_FETCH_WITH_CLI: true
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
- name: Install Rust toolchain
uses: artichoke/setup-rust/build-and-test@v1.12.1
with:
toolchain: nightly
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz
run: cargo fuzz run bytes -- -max_total_time=1800 # 30 minutes
string:
name: Fuzz string
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
CARGO_NET_GIT_FETCH_WITH_CLI: true
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
- name: Install Rust toolchain
uses: artichoke/setup-rust/build-and-test@v1.12.1
with:
toolchain: nightly
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz
run: cargo fuzz run string -- -max_total_time=1800 # 30 minutes