forked from openmls/openmls
-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (38 loc) · 972 Bytes
/
fuzz.yml
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
name: Spot Fuzz
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
fuzz:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
tests: [welcome_decode, mls_message_decode, proposal_decode]
include:
- tests: welcome_decode
runs: 10000
- tests: mls_message_decode
runs: 50000
- tests: proposal_decode
runs: 50000
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/[email protected]
with:
crate: cargo-fuzz
version: latest
- run: cargo fuzz run ${{ matrix.tests }} -- -runs=${{ matrix.runs }}