File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
devops/actions/run-tests/benchmark Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ inputs:
3737 type : string
3838 required : False
3939
40- env :
41- BENCHMARK_RESULTS_BRANCH : " sycl-benchmark-ci-results"
42-
4340runs :
4441 # composite actions don't make use of 'name', so copy-paste names as a comment in the first line of each step
4542 using : " composite"
4946 env :
5047 TARGET_DEVICE : ${{ inputs.target_devices }}
5148 PRESET : ${{ inputs.preset }}
52- run : |
49+ run : |
5350 # Check specified runner type / target backend
5451 case "$RUNNER_TAG" in
5552 '["PVC_PERF"]' ) ;;
@@ -164,6 +161,15 @@ runs:
164161 sudo cmake --install build
165162
166163 cd -
164+ - name : Set env var for results branch
165+ shell : bash
166+ run : |
167+ # Set env var for results branch
168+ # Set BENCHMARK_RESULTS_BRANCH globally for all subsequent steps.
169+ # This has to be done this way because of limits of composite actions.
170+ BENCHMARK_RESULTS_BRANCH="sycl-benchmark-ci-results"
171+ echo "BENCHMARK_RESULTS_BRANCH=$BENCHMARK_RESULTS_BRANCH"
172+ echo "BENCHMARK_RESULTS_BRANCH=$BENCHMARK_RESULTS_BRANCH" >> $GITHUB_ENV
167173 - name : Checkout results repo
168174 uses : actions/checkout@v5
169175 with :
You can’t perform that action at this time.
0 commit comments