diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 3340e3c46..39e02488f 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -38,19 +38,26 @@ jobs: - libraries/RTC/examples/Test_RTC - libraries/SoftwareSerial - libraries/WDT + SKETCHES_REPORTS_PATH: sketches-reports strategy: fail-fast: false matrix: - board: [ - {"fqbn": "arduino:renesas_portenta:portenta_c33"}, - {"fqbn": "arduino:renesas_uno:minima"}, - {"fqbn": "arduino:renesas_uno:unor4wifi"}, - {"fqbn": "arduino-git:renesas:portenta_c33"}, - {"fqbn": "arduino-git:renesas:minima"}, - {"fqbn": "arduino-git:renesas:unor4wifi"}, - ] + board: + - fqbn: arduino:renesas_portenta:portenta_c33 + id: c33 + - fqbn: arduino:renesas_uno:minima + id: minima + - fqbn: arduino:renesas_uno:unor4wifi + id: wifi + - fqbn: arduino-git:renesas:portenta_c33 + id: git_c33 + - fqbn: arduino-git:renesas:minima + id: git_minima + - fqbn: arduino-git:renesas:unor4wifi + id: git_wifi + # make board type-specific customizations to the matrix jobs include: @@ -106,11 +113,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core - name: Checkout ArduinoCore-API - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: arduino/ArduinoCore-API path: extras/ArduinoCore-API @@ -125,7 +132,7 @@ jobs: if: steps.checkapi.outputs.IS_API == 'true' - name: Checkout Basic examples - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: arduino/arduino-examples path: examples @@ -173,9 +180,10 @@ jobs: enable-deltas-report: 'false' verbose: 'true' github-token: ${{ secrets.GITHUB_TOKEN }} + sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }} - name: Save memory usage change report as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: sketches-reports - path: sketches-reports + path: ${{ env.SKETCHES_REPORTS_PATH }} + name: sketches-reports-${{ matrix.board.id }}