Skip to content

Commit 92dedd3

Browse files
committed
fixed atheris install error
1 parent 1f1d45c commit 92dedd3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/action-atheris.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@ fi
2222
python -m pip install --upgrade pip
2323
python -m pip install maturin atheris
2424

25+
wheel_dir="${RUNNER_TEMP:-/tmp}/pickle-fuzzer-wheels"
26+
mkdir -p "$wheel_dir"
27+
2528
pushd "${GITHUB_ACTION_PATH}" >/dev/null
26-
maturin develop --release
29+
maturin build --release -o "$wheel_dir"
2730
popd >/dev/null
2831

32+
python -m pip install "${wheel_dir}"/*.whl
33+
2934
if [[ -n "${INPUT_HARNESS_ARGS:-}" ]]; then
3035
echo "Running harness: ${harness_path} ${INPUT_HARNESS_ARGS}"
3136
# shellcheck disable=SC2086

0 commit comments

Comments
 (0)