mirror of
https://github.com/godotengine/godot-benchmarks.git
synced 2026-01-04 06:10:04 +03:00
Fix upload of benchmark results in run-benchmarks.sh
This commit is contained in:
@@ -20,7 +20,7 @@ following commands in that folder:
|
||||
|
||||
```bash
|
||||
cd gdextension/
|
||||
git odule update --init --recursive
|
||||
git submodule update --init --recursive
|
||||
scons
|
||||
scons target=template_release
|
||||
```
|
||||
|
||||
@@ -260,13 +260,13 @@ echo "$EXTRA_JSON" > "/tmp/extra.md"
|
||||
# so we only push files to it and do nothing else.
|
||||
cd /tmp/godot-benchmarks-results/
|
||||
|
||||
OUTPUT_PATH="/tmp/godot-benchmarks-results/${DATE}_${COMMIT_HASH}.md"
|
||||
rm -f "$OUTPUT_PATH"
|
||||
|
||||
# Merge benchmark run JSONs together.
|
||||
# Use editor build as release build errors due to missing PCK file.
|
||||
echo "Merging JSON files together."
|
||||
$GODOT_DEBUG --headless --path "$DIR" --script merge_json.gd -- /tmp/cpu_debug.md /tmp/cpu_release.md /tmp/amd.md /tmp/intel.md /tmp/nvidia.md /tmp/extra.md --output-path /tmp/merged.md
|
||||
|
||||
OUTPUT_PATH="/tmp/godot-benchmarks-results/${DATE}_${COMMIT_HASH}.md"
|
||||
rm -f "$OUTPUT_PATH"
|
||||
$GODOT_DEBUG --headless --path "$DIR" --script merge_json.gd -- /tmp/cpu_debug.md /tmp/cpu_release.md /tmp/amd.md /tmp/intel.md /tmp/nvidia.md /tmp/extra.md --output-path "$OUTPUT_PATH"
|
||||
|
||||
# Build website files after running all benchmarks, so that benchmarks
|
||||
# appear on the web interface.
|
||||
|
||||
Reference in New Issue
Block a user