Merge branch 'develop' #8
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: Build(platformio) | |
| on: | |
| push: | |
| tags-ignore: | |
| - '*.*.*' | |
| - 'v*.*.*' | |
| branches: | |
| - '*' | |
| paths: | |
| - 'src/**.cpp' | |
| - 'src/**.hpp' | |
| - 'src/**.h' | |
| - 'src/**.c' | |
| - 'examples/UnitUnified/**.ino' | |
| - 'examples/UnitUnified/**.cpp' | |
| - 'examples/UnitUnified/**.hpp' | |
| - 'examples/UnitUnified/**.h' | |
| - 'examples/UnitUnified/**.c' | |
| - '.github/workflows/platformio-build-check.yml' | |
| - 'platformio.ini' | |
| pull_request: | |
| paths: | |
| - 'src/**.cpp' | |
| - 'src/**.hpp' | |
| - 'src/**.h' | |
| - 'src/**.c' | |
| - 'examples/UnitUnified/**.ino' | |
| - 'examples/UnitUnified/**.cpp' | |
| - 'examples/UnitUnified/**.hpp' | |
| - 'examples/UnitUnified/**.h' | |
| - 'examples/UnitUnified/**.c' | |
| - '.github/workflows/platformio-build-check.yml' | |
| - 'platformio.ini' | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| shell: bash | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: ${{ matrix.unit }}:${{ matrix.example }}@${{ matrix.board }}:${{ matrix.framework }}:${{ matrix.espressif32 }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 12 | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 20 | |
| matrix: | |
| example: | |
| - PlotToSerial | |
| unit: | |
| - UnitRF433R | |
| - UnitRF433T | |
| board: | |
| - Core | |
| - Core2 | |
| - CoreS3 | |
| - Fire | |
| - StampS3 | |
| - Dial | |
| - Atom | |
| - AtomS3 | |
| - AtomS3R | |
| - NanoC6 | |
| - StickCPlus | |
| - StickCPlus2 | |
| - StickS3 | |
| - Paper | |
| - CoreInk | |
| - Cardputer | |
| - Tab5 | |
| - NessoN1 | |
| framework: | |
| - Arduino | |
| espressif32: | |
| - latest | |
| include: | |
| # Specific sketches | |
| - example: Transceiver | |
| board: Core | |
| framework: Arduino | |
| espressif32: latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install intelhex | |
| run: pip install intelhex | |
| - name: Build examples | |
| uses: karniv00l/platformio-run-action@v1 | |
| with: | |
| environments: ${{ matrix.unit != '' && format('{0}_{1}_{2}_{3}_{4}', matrix.unit, matrix.example, matrix.board, matrix.framework, matrix.espressif32) || format('{0}_{1}_{2}_{3}', matrix.example, matrix.board, matrix.framework, matrix.espressif32) }} | |
| # targets: | |
| project-dir: "./" | |
| project-conf: "./platformio.ini" | |
| # jobs: 6 | |
| # silent: false | |
| # verbose: true | |
| # disable-auto-clean: false |