Skip to content

Commit 0e87fcc

Browse files
fixes
1 parent 7ad3d89 commit 0e87fcc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

devops/actions/run-tests/benchmark/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ runs:
154154
BENCHMARK_RESULTS_BRANCH="sycl-benchmark-ci-results"
155155
echo "BENCHMARK_RESULTS_BRANCH=$BENCHMARK_RESULTS_BRANCH" >> $GITHUB_OUTPUT
156156
157-
BENCHMARK_RESULTS_REPO_PATH="./llvm-ci-perf-results"
157+
BENCHMARK_RESULTS_REPO_PATH="$(realpath ./llvm-ci-perf-results)"
158158
echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT
159159
- name: Checkout results repo
160160
uses: actions/checkout@v5
@@ -319,9 +319,11 @@ runs:
319319
export LLVM_BENCHMARKS_UNIT_TESTING=1
320320
export COMPUTE_BENCHMARKS_BUILD_PATH=$BENCH_WORKDIR/compute-benchmarks-build
321321
python3 ./devops/scripts/benchmarks/tests/test_integration.py
322-
- name: Cache changes and upload github summary
322+
- name: Upload github summaries and cache changes
323323
if: always()
324324
shell: bash
325+
env:
326+
BENCHMARK_RESULTS_REPO_PATH: ${{ steps.results_repo.outputs.BENCHMARK_RESULTS_REPO_PATH }}
325327
run: |
326328
# Upload github summaries and cache changes
327329
[ -f "github_summary_exe.md" ] && cat github_summary_exe.md >> $GITHUB_STEP_SUMMARY
@@ -337,6 +339,7 @@ runs:
337339
if: always() && inputs.upload_results == 'true'
338340
shell: bash
339341
env:
342+
BENCH_WORKDIR: ${{ env.BENCH_WORKDIR }}
340343
BENCHMARK_RESULTS_REPO_PATH: ${{ steps.results_repo.outputs.BENCHMARK_RESULTS_REPO_PATH }}
341344
BENCHMARK_RESULTS_BRANCH: ${{ steps.results_repo.outputs.BENCHMARK_RESULTS_BRANCH }}
342345
run: |
@@ -375,7 +378,7 @@ runs:
375378
echo "Regenerating data.json..."
376379
cd ../
377380
./devops/scripts/benchmarks/main.py \
378-
"$(realpath ./llvm_test_workdir)" \
381+
"${BENCH_WORKDIR}" \
379382
--output-html remote \
380383
--results-dir "${BENCHMARK_RESULTS_REPO_PATH}/" \
381384
--output-dir "${BENCHMARK_RESULTS_REPO_PATH}/" \

0 commit comments

Comments
 (0)