|
12 | 12 | - "examples/**"
|
13 | 13 | - "src/**"
|
14 | 14 |
|
15 |
| -env: |
16 |
| - # It's convenient to set variables for values used multiple times in the workflow. |
17 |
| - SKETCHES_REPORTS_PATH: sketches-reports |
18 |
| - |
19 | 15 | jobs:
|
20 |
| - compile: |
| 16 | + build: |
21 | 17 | runs-on: ubuntu-latest
|
22 | 18 |
|
23 | 19 | env:
|
|
35 | 31 | - examples/ArduinoIoTCloud-Callbacks
|
36 | 32 | - examples/ArduinoIoTCloud-Schedule
|
37 | 33 | - examples/utility/ArduinoIoTCloud_Travis_CI
|
| 34 | + SKETCHES_REPORTS_PATH: sketches-reports |
38 | 35 |
|
39 | 36 | strategy:
|
40 | 37 | fail-fast: false
|
@@ -295,28 +292,9 @@ jobs:
|
295 | 292 | google-key-file: ${{ secrets.GOOGLE_KEY_FILE }}
|
296 | 293 | spreadsheet-id: 1I6NZkpZpf8KugBkE92adB1Z3_b7ZepOpCdYTOigJpN4
|
297 | 294 |
|
298 |
| - # This step is needed to pass the size data to the report job. |
299 | 295 | - name: Save memory usage change report as artifact
|
300 | 296 | if: github.event_name == 'pull_request'
|
301 | 297 | uses: actions/upload-artifact@v4
|
302 | 298 | with:
|
303 | 299 | name: sketches-report-${{ matrix.board.artifact-name-suffix }}
|
304 | 300 | path: ${{ env.SKETCHES_REPORTS_PATH }}
|
305 |
| - |
306 |
| - # When using a matrix to compile for multiple boards, it's necessary to use a separate job for the deltas report |
307 |
| - report: |
308 |
| - needs: compile # Wait for the compile job to finish to get the data for the report |
309 |
| - if: github.event_name == 'pull_request' # Only run the job when the workflow is triggered by a pull request |
310 |
| - runs-on: ubuntu-latest |
311 |
| - |
312 |
| - steps: |
313 |
| - # This step is needed to get the size data produced by the compile jobs |
314 |
| - - name: Download sketches reports artifacts |
315 |
| - uses: actions/download-artifact@v4 |
316 |
| - with: |
317 |
| - # All workflow artifacts will be downloaded to this location. |
318 |
| - path: ${{ env.SKETCHES_REPORTS_PATH }} |
319 |
| - |
320 |
| - - uses: arduino/report-size-deltas@v1 |
321 |
| - with: |
322 |
| - sketches-reports-source: ${{ env.SKETCHES_REPORTS_PATH }} |
0 commit comments