-
Notifications
You must be signed in to change notification settings - Fork 808
[Bench][CI] allow custom Compute Runtime from PRs #21155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Conversation
eaaecee to
601d393
Compare
| echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT | ||
|
|
||
| CR_BUILD_REF="" | ||
| if [ -n "${{ inputs.custom_cr }}" ] && [[ "${{ inputs.custom_cr }}" == PR_* ]]; then |
Check failure
Code scanning / zizmor
code injection via template expansion Error test
| echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT | ||
|
|
||
| CR_BUILD_REF="" | ||
| if [ -n "${{ inputs.custom_cr }}" ] && [[ "${{ inputs.custom_cr }}" == PR_* ]]; then |
Check failure
Code scanning / zizmor
code injection via template expansion Error test
| echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT | ||
|
|
||
| CR_BUILD_REF="" | ||
| if [ -n "${{ inputs.custom_cr }}" ] && [[ "${{ inputs.custom_cr }}" == PR_* ]]; then |
Check failure
Code scanning / zizmor
code injection via template expansion Error test
| pr_no="$(echo "${{ inputs.custom_cr }}" | sed 's/PR_//')" | ||
| CR_BUILD_REF="refs/pull/$pr_no/head" | ||
| echo "Using custom compute runtime ref: ${CR_BUILD_REF}" | ||
| elif [ -n "${{ inputs.custom_cr }}" ]; then |
Check failure
Code scanning / zizmor
code injection via template expansion Error test
| pr_no="$(echo "${{ inputs.custom_cr }}" | sed 's/PR_//')" | ||
| CR_BUILD_REF="refs/pull/$pr_no/head" | ||
| echo "Using custom compute runtime ref: ${CR_BUILD_REF}" | ||
| elif [ -n "${{ inputs.custom_cr }}" ]; then |
Check failure
Code scanning / zizmor
code injection via template expansion Error test
| --timestamp-override "$SAVE_TIMESTAMP" \ | ||
| --detect-version sycl,compute_runtime \ | ||
| --produce-github-summary \ | ||
| ${{ env.CR_BUILD_REF != '' && format('--compute-runtime {0}', env.CR_BUILD_REF) || '' }} \ |
Check warning
Code scanning / zizmor
code injection via template expansion Warning test
// preview: https://github.com/intel/llvm/actions/runs/21444100373/job/61755485970#step:20:1537