fix #913 #410
Workflow file for this run
This file contains 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: Pico SDK build | |
on: | |
pull_request_target: | |
push: | |
paths: | |
- ".github/workflows/build_rp2xxx.yml" | |
- "*.h" | |
- "!printf.h" # Pico SDK has its own printf solution | |
- "*.cpp" | |
- "CMakeLists.txt" | |
- "cmake/" | |
- "utility/rp2/*" | |
- "examples_pico/*" | |
pull_request: | |
types: [opened, reopened] | |
paths: | |
- ".github/workflows/build_rp2xxx.yml" | |
- "*.h" | |
- "!printf.h" # Pico SDK has its own printf solution | |
- "*.cpp" | |
- "CMakeLists.txt" | |
- "cmake/**" | |
- "utility/rp2/*" | |
- "examples_pico/*" | |
jobs: | |
check_formatting: | |
uses: nRF24/.github/.github/workflows/cpp_lint.yaml@main | |
with: | |
ignore: '!examples_pico|' | |
build: | |
needs: check_formatting | |
uses: nRF24/.github/.github/workflows/build_pico_sdk.yaml@main | |
with: | |
board-id: ${{ matrix.board }} | |
rf24-ref: ${{ github.sha }} | |
strategy: | |
fail-fast: false | |
matrix: | |
board: | |
- "pico" | |
- "adafruit_feather_rp2040" | |
- "adafruit_itsybitsy_rp2040" | |
- "adafruit_qtpy_rp2040" | |
- "pimoroni_tiny2040" # examples require PicoSDK v1.2.0 | |
- "sparkfun_micromod" # examples require PicoSDK v1.2.0 | |
- "sparkfun_promicro" # examples require PicoSDK v1.2.0 | |
- "sparkfun_thingplus" # examples require PicoSDK v1.2.0 | |
# - "vgaboard" # examples require PicoSDK v1.2.0 (this can be enabled on request) | |
- "arduino_nano_rp2040_connect" # requires PicoSDK v1.2.0 | |
- "pimoroni_picolipo_4mb" # requires PicoSDK v1.2.0 | |
- "pimoroni_picolipo_16mb" # requires PicoSDK v1.2.0 | |
- "pimoroni_pga2040" # requires PicoSDK v1.2.0 |