name: Build on: push: branches: - device-framework tags: - "v*" pull_request: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: documentation: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: bash -n scripts/*.sh tools/portal-hardware tools/lib/*.sh tools/tests/*.sh - run: ./tools/tests/test-portal-hardware-cli.sh - run: ./scripts/check-docs.sh compile-tests: runs-on: ubuntu-latest strategy: fail-fast: false matrix: environment: ["esp8266", "esp32"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - run: python -m pip install --upgrade platformio==6.1.19 - run: ./scripts/test.sh compile --platform ${{ matrix.environment }} - run: ./scripts/test.sh examples --platform ${{ matrix.environment }}