File tree Expand file tree Collapse file tree 4 files changed +99
-61
lines changed Expand file tree Collapse file tree 4 files changed +99
-61
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: Build
22
33on : [pull_request]
44
5+ env :
6+ IDF_TARGET : ' esp32s3'
7+ IDF_VERSION : ' v5.5.1'
8+ IDF_COMPONENT_MANAGER : " 1" # whether to enable the component manager or not
9+ FLASH_TOTAL_OVERRIDE : ' 2097152' # 2MB flash app partition for hachi
10+
511jobs :
612 build :
713
1420 - name : Build Examples
1521 uses : espressif/esp-idf-ci-action@v1
1622 with :
17- esp_idf_version : release-v5.4
18- target : esp32s3
23+ esp_idf_version : ${{ env.IDF_VERSION }}
24+ target : ${{ env.IDF_TARGET }}
1925 path : ' .'
26+
27+ - name : Determine Size Delta
28+ uses : esp-cpp/esp-idf-size-delta@v1
29+ with :
30+ app_name : ' Wireless Debug Display'
31+ app_path : ' .'
32+ idf_target : ${{ env.IDF_TARGET }}
33+ idf_version : ${{ env.IDF_VERSION }}
34+ idf_component_manager : ${{ env.IDF_COMPONENT_MANAGER }}
35+ flash_total_override : ${{ env.FLASH_TOTAL_OVERRIDE }}
Original file line number Diff line number Diff line change 77 types : [published]
88 workflow_dispatch :
99
10+ env :
11+ IDF_VERSION : ' v5.5.1'
12+ IDF_COMPONENT_MANAGER : " 1" # whether to enable the component manager or not
13+ FLASH_TOTAL_OVERRIDE : ' 2097152' # 2MB flash app partition for main app
14+
1015jobs :
1116 build :
1217
4045 - name : Build Main Code
4146 uses : espressif/esp-idf-ci-action@v1
4247 with :
43- esp_idf_version : release-v5.4
48+ esp_idf_version : ${{ env.IDF_VERSION }}
4449 target : ${{ matrix.build.target }}
4550 path : ' .'
4651 command : ${{ matrix.build.command }}
7277 with :
7378 files : ${{ env.artifact_path }}
7479
80+ - name : Determine Size Delta
81+ # only run this on the byte90 build and if the release is published
82+ if : ${{ github.event.release && github.event.action == 'published' && matrix.build.name == 'esp-box' }}
83+ uses : esp-cpp/esp-idf-size-delta@v1
84+ with :
85+ app_name : " Wireless Debug Display"
86+ app_path : " ."
87+ idf_target : ${{ matrix.build.target }}
88+ idf_version : ${{ env.IDF_VERSION }}
89+ idf_component_manager : ${{ env.IDF_COMPONENT_MANAGER }}
90+ flash_total_override : ${{ env.FLASH_TOTAL_OVERRIDE }}
91+ post_comment : ' false'
92+
7593 package :
7694 name : Package the binaries into an executables for Windows, MacOS, and Linux (Ubuntu)
7795 needs : build
Original file line number Diff line number Diff line change @@ -205,11 +205,11 @@ running.
205205### Environment
206206
207207This project is an ESP-IDF project, currently [ ESP-IDF
208- v.5.4 ] ( https://github.com/espressif/esp-idf ) .
208+ v.5.5.1 ] ( https://github.com/espressif/esp-idf ) .
209209
210- For information about setting up ` ESP-IDF v5.4 ` , please see [ the official
210+ For information about setting up ` ESP-IDF v5.5.1 ` , please see [ the official
211211ESP-IDF getting started
212- documentation] ( https://docs.espressif.com/projects/esp-idf/en/v5.4 /esp32s3/get-started/index.html ) .
212+ documentation] ( https://docs.espressif.com/projects/esp-idf/en/v5.5.1 /esp32s3/get-started/index.html ) .
213213
214214### Build and Flash
215215
You can’t perform that action at this time.
0 commit comments