@@ -218,7 +218,7 @@ jobs:
218218 body: body
219219 })
220220
221- - name : Commit data.json and results directory
221+ - name : Commit data.json, data_archive.json, and results directory
222222 working-directory : results-repo
223223 run : |
224224 git config --global user.name "GitHub Actions Bot"
@@ -227,11 +227,12 @@ jobs:
227227 for attempt in {1..5}; do
228228 echo "Attempt #$attempt to push changes"
229229
230- rm -f data.json
230+ rm -f data.json data_archive.json
231231 cp ${{ github.workspace }}/sc/devops/scripts/benchmarks/html/data.json .
232+ cp ${{ github.workspace }}/sc/devops/scripts/benchmarks/html/data_archive.json .
232233
233- git add data.json results/
234- git commit -m "Add benchmark results and data .json"
234+ git add data.json data_archive.json results/
235+ git commit -m "Add benchmark results, data.json, and data_archive .json"
235236
236237 results_file=$(git diff HEAD~1 --name-only -- results/ | head -n 1)
237238
@@ -252,9 +253,7 @@ jobs:
252253 mv ${{ github.workspace }}/temp_$(basename $results_file) $new_file
253254 fi
254255
255- echo "Regenerating data.json"
256- # --sycl and --ur params must be set to some values for the dry-run to properly output metadata for sycl and ur based benchmarks.
257- # TODO: remove this once it's addressed in the benchmark scripts.
258- (cd ${{ github.workspace }} && ${{ github.workspace }}/sc/devops/scripts/benchmarks/main.py ~/ur_bench_workdir --dry-run --sycl invalid --ur invalid --results-dir ${{ github.workspace }}/results-repo --output-html remote)
256+ echo "Regenerating data.json and data_archive.json"
257+ (cd ${{ github.workspace }} && ${{ github.workspace }}/sc/devops/scripts/benchmarks/main.py ~/ur_bench_workdir --dry-run --results-dir ${{ github.workspace }}/results-repo --output-html remote)
259258
260259 done
0 commit comments