Update NetworkConfig.h #5
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: Compile Arduino UNO R4 WiFi Examples | |
| on: | |
| push: | |
| paths: | |
| - ".github/workflows/buildExamples.yml" | |
| - "examples/**" | |
| - "src/**" | |
| pull_request: | |
| paths: | |
| - ".github/workflows/buildExamples.yml" | |
| - "examples/**" | |
| - "src/**" | |
| workflow_dispatch: | |
| repository_dispatch: | |
| jobs: | |
| build: | |
| name: ${{ matrix.board.fqbn }} | |
| runs-on: ubuntu-latest | |
| env: | |
| SKETCHES_REPORTS_PATH: sketches-reports | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| board: | |
| - fqbn: arduino:renesas_uno:unor4wifi | |
| platforms: | | |
| - name: arduino:renesas_uno | |
| steps: | |
| - name: Install arduino-cli | |
| run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh | |
| - name: Install Ethernet | |
| run: arduino-cli lib install Ethernet | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Create compile directory without excluded examples | |
| run: | | |
| mkdir -p compile-examples | |
| cp -r examples/* compile-examples/ | |
| # Remove excluded examples | |
| find compile-examples -name "SAMD_wifiManager.ino" -delete | |
| # If you need to exclude more, add more lines like: | |
| # find compile-examples -name "OtherExample.ino" -delete | |
| - name: Compile examples | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.board.fqbn }} | |
| platforms: ${{ matrix.board.platforms }} | |
| libraries: | | |
| # Install the library from the local path. | |
| - source-path: ./ | |
| sketch-paths: | | |
| - compile-examples | |
| enable-deltas-report: true | |
| sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }} | |
| - name: Save sketches report as workflow artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| if-no-files-found: error | |
| path: ${{ env.SKETCHES_REPORTS_PATH }} | |
| name: sketches-report-${{ matrix.board.artifact-name-suffix }} |