Skip to content

Commit

Permalink
Run fuzzing in a VM (#982)
Browse files Browse the repository at this point in the history
* run fuzzing in a vm

* no use cleaning up since each VM is pristine
  • Loading branch information
kallsyms authored Dec 22, 2022
1 parent 9423bee commit 2279cd8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@ on:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab

jobs:
start_vm:
runs-on: e2e-host
steps:
- uses: actions/checkout@v2
- name: Start VM
run: python3 Testing/integration/actions/start_vm.py macOS_13.bundle.tar.gz

fuzz:
runs-on: self-hosted
runs-on: e2e-vm
steps:
- uses: actions/checkout@v2
- name: Setup libfuzzer
run: Fuzzing/install_libclang_fuzzer.sh
- name: Cleanup any existing fuzz runs
run: rm -rf /tmp/fuzzing/artifacts # N.B. keeps the corpus
- name: Fuzz
run: |
for target in $(bazel query 'kind(fuzzing_launcher, //Fuzzing:all)'); do
Expand Down

0 comments on commit 2279cd8

Please sign in to comment.