Rename BENCHMARK_BINARY to BUILD_BINARY for generic use

This commit is contained in:
J. Nick Koston
2026-03-17 01:43:58 -10:00
parent b87b4102e0
commit 587179143f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -332,8 +332,8 @@ jobs:
run: |
. venv/bin/activate
export BENCHMARK_LIB_CONFIG=$(python script/setup_codspeed_lib.py)
# --build-only prints BENCHMARK_BINARY=<path> to stdout
BINARY=$(script/cpp_benchmark.py --all --build-only | grep '^BENCHMARK_BINARY=' | tail -1 | cut -d= -f2-)
# --build-only prints BUILD_BINARY=<path> to stdout
BINARY=$(script/cpp_benchmark.py --all --build-only | grep '^BUILD_BINARY=' | tail -1 | cut -d= -f2-)
echo "binary=$BINARY" >> $GITHUB_OUTPUT
- name: Run CodSpeed benchmarks
+1 -1
View File
@@ -389,7 +389,7 @@ def build_and_run(
return exit_code
if build_only:
print(f"BENCHMARK_BINARY={program_path}")
print(f"BUILD_BINARY={program_path}")
return EXIT_OK
# Run the binary