CI: don't collect code coverage on arm64 runners

This commit is contained in:
Alexander Bayandin
2024-08-13 15:25:29 +01:00
parent 50b9fb430a
commit c1378dc43b
2 changed files with 10 additions and 5 deletions

View File

@@ -170,10 +170,8 @@ runs:
EXTRA_PARAMS="--durations-path $TEST_OUTPUT/benchmark_durations.json $EXTRA_PARAMS"
fi
if [[ "${{ inputs.build_type }}" == "debug" ]]; then
if [[ $BUILD_TYPE == "debug" && $RUNNER_ARCH == 'X64' ]]; then
cov_prefix=(scripts/coverage "--profraw-prefix=$GITHUB_JOB" --dir=/tmp/coverage run)
elif [[ "${{ inputs.build_type }}" == "release" ]]; then
cov_prefix=()
else
cov_prefix=()
fi