mirror of
https://github.com/esphome/esphome.git
synced 2026-09-20 19:48:39 +00:00
Rename BENCHMARK_BINARY to BUILD_BINARY for generic use
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user