Skip to content

config: sync the policy data #242

config: sync the policy data

config: sync the policy data #242

Workflow file for this run

on:
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:
name: Fuzzing Test
env:
AS: nasm
AR_x86_64_unknown_none: llvm-ar
CC_x86_64_unknown_none: clang
RUST_TOOLCHAIN: nightly-2023-12-31
TOOLCHAIN_PROFILE: minimal
AFL_NO_AFFINITY: 1
permissions:
contents: read
jobs:
test:
name: Fuzzing Test
strategy:
fail-fast: false
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: recursive
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
toolchain: nightly-2023-12-31
profile: minimal
override: true
components: rust-src, llvm-tools-preview
- name: Run cargo install cargo-xbuild
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: install
args: cargo-xbuild
- name: install NASM
uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 # v1.5.1
- name: Install AFL
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: install
args: cargo-afl
- name: Install Cargo-Fuzz
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: install
args: cargo-fuzz
- name: Preparation work
run: bash sh_script/preparation.sh
- name: Run all afl fuzzing test cases
run: bash sh_script/fuzzing.sh -n afl_all -t 10
- name: Run all libfuzzer fuzzing test cases
run: bash sh_script/fuzzing.sh -n libfuzzer_all -t 60