Auto stash before merge of "jh" and "origin/main" #230
Workflow file for this run
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
| name: arduino | |
| on: [ push, pull_request ] | |
| jobs: | |
| build-for-esp32: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| fqbn: | |
| - esp32:esp32:esp32 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: arduino/compile-sketches@v1 | |
| with: | |
| enable-deltas-report: true | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| fqbn: ${{ matrix.fqbn }} | |
| platforms: | | |
| - name: esp32:esp32@2.0.17 | |
| source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
| sketch-paths: | | |
| - fossa/fossa.ino | |
| libraries: | | |
| - name: ArduinoJson | |
| - name: uBitcoin | |
| - name: JC_Button | |
| - name: EspSoftwareSerial | |
| - name: Adafruit Thermal Printer Library | |
| - name: TFT_eSPI | |
| - source-path: ./libraries/QRCode | |
| # This step is needed to pass the size data to the report job. | |
| - name: Upload sketches report to workflow artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sketches-reports-esp32 | |
| path: sketches-reports | |
| report: | |
| needs: build-for-esp32 | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| # This step is needed to get the size data produced by the compile jobs | |
| - name: Download sketches reports artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| path: sketches-reports | |
| - uses: arduino/report-size-deltas@v1 | |
| with: | |
| sketches-reports-source: sketches-reports |