fix(rp): reacquire same-name CDC after BOOTSEL deploy #2333
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: Validate Boards | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Auto-cancel superseded PR runs: pushing again to a feature branch | |
| # supersedes the in-flight run instead of queueing behind it. Non-PR | |
| # events key on run_id so each gets its own group -- a shared group keeps | |
| # only ONE pending run, which would silently drop queued main SHAs. | |
| concurrency: | |
| group: validate-boards.yml-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| validate-boards: | |
| name: Validate Board Definitions | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| PLATFORMIO_CORE_VERSION: "6.1.19" | |
| PLATFORMIO_ATMELAVR_VERSION: "5.1.0" | |
| PLATFORMIO_ATMELMEGAAVR_VERSION: "1.9.0" | |
| PLATFORMIO_ESPRESSIF32_VERSION: "6.13.0" | |
| PLATFORMIO_ESPRESSIF8266_VERSION: "4.2.1" | |
| PLATFORMIO_RASPBERRYPI_VERSION: "1.19.0" | |
| PLATFORMIO_STSTM32_VERSION: "19.5.0" | |
| PLATFORMIO_TEENSY_VERSION: "5.1.0" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install PlatformIO | |
| timeout-minutes: 5 | |
| run: pip install --timeout 60 "platformio==${PLATFORMIO_CORE_VERSION}" | |
| - name: Install PlatformIO platforms | |
| timeout-minutes: 15 | |
| run: | | |
| pio pkg install -g -p "platformio/atmelavr@${PLATFORMIO_ATMELAVR_VERSION}" | |
| pio pkg install -g -p "platformio/espressif32@${PLATFORMIO_ESPRESSIF32_VERSION}" | |
| pio pkg install -g -p "platformio/espressif8266@${PLATFORMIO_ESPRESSIF8266_VERSION}" | |
| pio pkg install -g -p "platformio/teensy@${PLATFORMIO_TEENSY_VERSION}" | |
| pio pkg install -g -p "platformio/ststm32@${PLATFORMIO_STSTM32_VERSION}" | |
| pio pkg install -g -p "platformio/raspberrypi@${PLATFORMIO_RASPBERRYPI_VERSION}" | |
| pio pkg install -g -p "platformio/atmelmegaavr@${PLATFORMIO_ATMELMEGAAVR_VERSION}" | |
| - name: Validate board JSONs match PlatformIO | |
| run: python ci/validate_boards.py | |
| - name: Validate ESP32 flash offsets match authoritative source | |
| # Cross-checks each esp32*.json bootloader/partitions/firmware offset | |
| # against arduino-esp32 boards.txt (build.bootloader_addr). The ESP32 | |
| # framework is not pre-installed in this job, so --download fetches the | |
| # authoritative boards.txt/platform.txt from the pioarduino release tag. | |
| run: python ci/check_flash_offsets.py --download |