ubuntu-latest-amd64-fuzzer.yml 727 B

12345678910111213141516171819202122232425262728
  1. name: Dinit on ubuntu-latest-amd64 fuzzer
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. Ubuntu-latest-amd64_fuzzer:
  6. runs-on: ubuntu-latest
  7. # We need to upload crash* files after libfuzzer fail so disable fail-fast option
  8. strategy:
  9. fail-fast: false
  10. steps:
  11. - uses: actions/checkout@v4
  12. - name: Print clang++ architecture
  13. run: clang++ -dumpmachine
  14. - name: Build `fuzz` target via make
  15. run: cd src/tests/cptests/ && make fuzz
  16. - name: Run fuzzer
  17. run: src/tests/cptests/fuzz -max_total_time=21000
  18. - name: Upload crash file(s)
  19. uses: actions/upload-artifact@v3.1.3
  20. if: failure()
  21. with:
  22. name: Dinit-fuzzer_crash
  23. path: src/tests/cptests/fuzz/crash*