-
Notifications
You must be signed in to change notification settings - Fork 34
44 lines (37 loc) · 957 Bytes
/
dotnet.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
43
44
name: Build and test
on:
workflow_dispatch:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
AFL:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ["8.0", "9.0"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install AFL
run: ./scripts/install.sh
- name: Disable core dumps
run: sudo sh -c "echo core >/proc/sys/kernel/core_pattern"
- name: Run AFL tests
shell: pwsh
run: ./scripts/test.ps1 ${{ matrix.dotnet-version }}
libFuzzer:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ["8.0", "9.0"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Run libFuzzer tests
run: ./scripts/test-libfuzzer.ps1