Merge pull request #7484 from roc-lang/new-fuzzer-workflow

added fuzzer workflow
This commit is contained in:
Anton-4 2025-01-08 17:07:56 +01:00 committed by GitHub
commit 83c78b0af1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 1 deletions

View file

@ -124,6 +124,11 @@ jobs:
if: needs.check-changes.outputs.run_tests == 'full'
uses: ./.github/workflows/benchmarks.yml
start-fuzzer-tests:
needs: check-changes
if: needs.check-changes.outputs.run_tests == 'full'
uses: ./.github/workflows/fuzzer.yml
ran-full:
runs-on: ubuntu-22.04
needs: [
@ -136,7 +141,7 @@ jobs:
start-ubuntu-x86-64-nix-tests-debug,
start-windows-release-build-test,
start-windows-tests,
start-roc-benchmarks,
start-roc-benchmarks
]
steps:
- run: echo "all workflows succeeded!"

20
.github/workflows/fuzzer.yml vendored Normal file
View file

@ -0,0 +1,20 @@
on:
workflow_call:
name: CI
env:
RUST_BACKTRACE: 1
jobs:
fuzz-test-parser:
name: Fuzz test parser (allowed to fail). Do check this if you've made changes to the parser.
runs-on: [self-hosted, i7-6700K]
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: run fuzz tests - ok to merge if this one fails # for now!
run: |
cargo +nightly-2024-02-03 install --locked cargo-fuzz
cd crates/compiler/test_syntax/fuzz && cargo +nightly-2024-02-03 fuzz run -j4 fuzz_expr --sanitizer=none -- -dict=dict.txt -max_total_time=60