-
Notifications
You must be signed in to change notification settings - Fork 5
feat: Add CI for tracking size deltas using new action #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c5ca557
feat: Add CI for tracking size deltas using new action
finger563 ce86ef1
fix env?
finger563 1d38ac8
fix
finger563 14a6866
fix2
finger563 002b94c
enable release manager
finger563 8ba60d8
Fix release workflow
finger563 be4c398
simplify so that size is not run unless build succeeds
finger563 b62d416
update release workflow
finger563 4b7d56b
update where permissions are stated
finger563 8d2ccde
minor updates
finger563 f7d64cf
update to calculate size in package_main
finger563 d9d7b3a
add missing env to package main
finger563 f824224
update permissions
finger563 af340d5
explicitly include atomic
finger563 4a265de
update versions
finger563 bc39d58
update permissions appropriately
finger563 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,43 @@ | ||
| name: Build | ||
|
|
||
| # TODO: update if you want to allow from forked repositories | ||
| on: [pull_request] | ||
|
|
||
| env: | ||
| # TODO: Update the below variables for your project | ||
| APP_NAME: "Template" | ||
| IDF_TARGET: 'esp32' | ||
| IDF_VERSION: 'v5.5' | ||
| IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not | ||
| FLASH_TOTAL_OVERRIDE: '1500000' # number of bytes of total flash (for percentage calculations) | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| permissions: | ||
| issues: write | ||
|
|
||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5 | ||
| # TODO: update this if you have submodules | ||
|
|
||
| - name: Build main | ||
| uses: espressif/esp-idf-ci-action@v1 | ||
| with: | ||
| esp_idf_version: release-v5.5 | ||
| path: '.' | ||
| # TODO: set the target here to be the chip you are building for | ||
| # target: esp32s3 | ||
| esp_idf_version: ${{ env.IDF_VERSION }} | ||
| path: "." | ||
| target: ${{ env.IDF_TARGET }} | ||
|
|
||
| - name: Determine Size Delta | ||
| uses: esp-cpp/esp-idf-size-delta@v1 | ||
| with: | ||
| app_name: ${{ env.APP_NAME }} | ||
| app_path: "." | ||
| idf_target: ${{ env.IDF_TARGET }} | ||
| idf_version: ${{ env.IDF_VERSION }} | ||
| idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }} | ||
| base_ref: ${{ github.event.pull_request.base.sha }} | ||
| flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| #include <atomic> | ||
| #include <chrono> | ||
| #include <thread> | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.