-
Notifications
You must be signed in to change notification settings - Fork 1k
55 lines (52 loc) · 1.66 KB
/
build_rp2xxx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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