Dinit on ubuntu-latest-amd64 fuzzer #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dinit on ubuntu-latest-amd64 fuzzer | |
on: | |
workflow_dispatch: | |
jobs: | |
Ubuntu-latest-amd64_fuzzer: | |
runs-on: ubuntu-latest | |
# We need to upload crash* files after libfuzzer fail so disable fail-fast option | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Print clang++ architecture | |
run: clang++ -dumpmachine | |
- name: Build `fuzz` target via make | |
run: cd src/tests/cptests/ && make fuzz | |
- name: Run fuzzer | |
run: src/tests/cptests/fuzz -max_total_time=21000 | |
- name: Upload crash file(s) | |
uses: actions/[email protected] | |
if: failure() | |
with: | |
name: Dinit-fuzzer_crash | |
path: src/tests/cptests/fuzz/crash* |