Skip to content

Commit 9091350

Browse files
committed
run unstable fuzz job with env flag
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent 0084ae5 commit 9091350

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/fuzz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ jobs:
109109
fuzz_target: array_ops
110110
fuzz_name: array_ops_unstable_encodings
111111
extra_features: "vortex/unstable_encodings"
112+
extra_env: "VORTEX_EXPERIMENTAL_PATCHED_ARRAY=1"
112113
jobs: 16
113114
secrets:
114115
R2_FUZZ_ACCESS_KEY_ID: ${{ secrets.R2_FUZZ_ACCESS_KEY_ID }}

.github/workflows/run-fuzzer.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ on:
2727
required: false
2828
type: string
2929
default: ""
30+
extra_env:
31+
description: "Extra environment variables to set (space-separated KEY=VALUE pairs)"
32+
required: false
33+
type: string
34+
default: ""
3035
jobs:
3136
description: "Number of parallel fuzzing jobs (libfuzzer -fork=N). Set to match available vCPUs."
3237
required: false
@@ -119,7 +124,7 @@ jobs:
119124
if [ "${{ inputs.jobs }}" -gt 1 ]; then
120125
FORK_FLAG="-fork=${{ inputs.jobs }}"
121126
fi
122-
RUSTFLAGS="--cfg vortex_nightly" RUST_BACKTRACE=1 \
127+
${{ inputs.extra_env }} RUSTFLAGS="--cfg vortex_nightly" RUST_BACKTRACE=1 \
123128
cargo +$NIGHTLY_TOOLCHAIN fuzz run --release --debug-assertions \
124129
$FEATURES_FLAG \
125130
${{ inputs.fuzz_target }} -- \

0 commit comments

Comments
 (0)