Introduce cpplint check #348
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Build (LibreTiny) | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| platformio-libretiny: | |
| name: LibreTiny (pio) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| board: | |
| - generic-bk7231n-qfn32-tuya | |
| - generic-rtl8710bn-2mb-788k | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "latest" | |
| enable-cache: false | |
| - name: Install platformio | |
| run: | | |
| uv pip install --system -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip | |
| - name: Build Examples | |
| run: | | |
| for i in AsyncResponseStream Auth Headers; do | |
| echo "=============================================================" | |
| echo "Building examples/$i..." | |
| echo "=============================================================" | |
| PLATFORMIO_SRC_DIR=examples/$i PIO_BOARD=${{ matrix.board }} pio run -e ci-libretiny | |
| done |