mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Merge pull request #7484 from roc-lang/new-fuzzer-workflow
added fuzzer workflow
This commit is contained in:
commit
83c78b0af1
2 changed files with 26 additions and 1 deletions
7
.github/workflows/ci_manager.yml
vendored
7
.github/workflows/ci_manager.yml
vendored
|
@ -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
20
.github/workflows/fuzzer.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue