77 types : [published]
88 workflow_dispatch :
99
10+ env :
11+ APP_NAME : ' Camera Display'
12+ IDF_VERSION : ' v5.5.1'
13+ IDF_COMPONENT_MANAGER : " 1" # whether to enable the component manager or not
14+ FLASH_TOTAL_OVERRIDE : ' 4194304' # 4MB flash app partition for main app
15+
1016jobs :
1117 build :
1218
@@ -18,12 +24,15 @@ jobs:
1824 build :
1925 # main (full) code
2026 - name : ' byte90'
27+ target : esp32s3
2128 command : |
2229 idf.py -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.byte90" build
2330 - name : ' esp-box'
31+ target : esp32s3
2432 command : |
2533 idf.py -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.esp-box" build
2634 - name : ' t-deck'
35+ target : esp32s3
2736 command : |
2837 idf.py -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.t-deck" build
2938
3847 - name : Build Main Code
3948 uses : espressif/esp-idf-ci-action@v1
4049 with :
41- esp_idf_version : release-v5.4
42- target : esp32s3
50+ esp_idf_version : ${{ env.IDF_VERSION }}
51+ target : ${{ matrix.build.target }}
4352 path : ' .'
4453 command : ${{ matrix.build.command }}
4554
7079 with :
7180 files : ${{ env.artifact_path }}
7281
82+ - name : Determine Size Delta
83+ # only run this on the esp-box build and if the release is published
84+ if : ${{ github.event.release && github.event.action == 'published' && matrix.build.name == 'esp-box' }}
85+ uses : esp-cpp/esp-idf-size-delta@v1
86+ with :
87+ app_name : ${{ env.APP_NAME }}
88+ app_path : " ."
89+ idf_target : ${{ matrix.build.target }}
90+ idf_version : ${{ env.IDF_VERSION }}
91+ idf_component_manager : ${{ env.IDF_COMPONENT_MANAGER }}
92+ flash_total_override : ${{ env.FLASH_TOTAL_OVERRIDE }}
93+ post_comment : ' false'
94+
7395 package :
7496 name : Package the binaries into an executables for Windows, MacOS, and Linux (Ubuntu)
7597 needs : build
0 commit comments