Skip to content

Run tests on arm64 #1452

Run tests on arm64

Run tests on arm64 #1452

Workflow file for this run

name: Fuzz
on:
# schedule:
# - cron: 30 0 * * *
pull_request:
branches:
- "**"
workflow_dispatch:
inputs:
duration:
description: 'Duration of the fuzzing run in seconds'
required: true
default: "60"
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
fuzzing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install deps
run: |
DEBIAN_FRONTEND="noninteractive" sudo apt-get -y remove python3-lldb-14
sudo .github/workflows/scripts/llvm.sh 17
DEBIAN_FRONTEND="noninteractive" sudo apt-get -y install libfuzzer-17-dev
- name: Build
run: ./fuzzing/build.sh
- name: Run fuzzer
run: ./fuzzing/run.sh ${{ github.event.inputs.duration }}
- name: Log
if: ${{ always() }}
run: grep -v -f fuzzing/scripts/report-negative-patterns.txt fuzzing/fuzz-*.log
- name: Show coverage
run: ./fuzzing/scripts/show_coverage.sh 40
- name: Compress artifact
if: ${{ always() }}
run: tar -czvf fuzzing.tar.gz fuzzing/
- name: Artifact
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: fuzzing-data
path: fuzzing.tar.gz