mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 01:15:33 +00:00
Fix stale comment in main.cpp, simplify CI binary extraction
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ============
|
||||
|
||||
Reference in New Issue
Block a user