Fix stale comment in main.cpp, simplify CI binary extraction

This commit is contained in:
J. Nick Koston
2026-03-16 22:48:39 -10:00
parent e34855b92e
commit 5b073ca520
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)
script/cpp_benchmark.py --all --build-only 2>&1 | tee /tmp/bench-build.log
BINARY=$(tail -1 /tmp/bench-build.log)
# --build-only prints the binary path as the last line of stdout
BINARY=$(script/cpp_benchmark.py --all --build-only | tail -1)
echo "binary=$BINARY" >> $GITHUB_OUTPUT
- name: Run CodSpeed benchmarks
+1 -1
View File
@@ -13,7 +13,7 @@ It replaces the default ESPHome main with a benchmark runner.
// ========== AUTO GENERATED INCLUDE BLOCK END ==========="
void original_setup() {
// This function won't be run.
// Code-generated App initialization (pre_setup, area/device registration, etc.)
// ========== AUTO GENERATED CODE BEGIN ===========
// =========== AUTO GENERATED CODE END ============