File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
actions/run-tests/benchmark Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 7171 echo "-----"
7272 ./devops/scripts/benchmarking/benchmark.sh -n '${{ runner.name }}' -s
7373 - name : Push compute-benchmarks results
74+ if : always()
7475 shell : bash
7576 run : |
7677 # TODO -- waiting on security clearance
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ check_and_cache() {
119119 fi
120120 else
121121 [ " $CACHE_RESULTS " -eq " 1" ] && echo " Regression found -- Not caching!"
122+ _regression_found=1
122123 fi
123124}
124125
@@ -296,5 +297,7 @@ DEVICE_SELECTOR_DIRNAME="$(echo "$ONEAPI_DEVICE_SELECTOR" | sed 's/:/-/')"
296297[ ! -d ./compute-benchmarks ] && clone_compute_bench
297298[ ! -d ./compute-benchmarks/build ] && build_compute_bench
298299# Process benchmarks:
300+ _regression_found=0
299301process_benchmarks
300302process_results
303+ exit " $_regression_found "
You can’t perform that action at this time.
0 commit comments