-
Notifications
You must be signed in to change notification settings - Fork 1k
57 lines (54 loc) · 1.63 KB
/
build_platformIO.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
56
57
name: PlatformIO build
on:
pull_request:
branches: [master]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"
- "!examples/old_backups/**"
- "!examples/rf24_ATTiny/**"
push:
branches: [master]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"
- "!examples/old_backups/**"
- "!examples/rf24_ATTiny/**"
release:
types: [created]
jobs:
validate_lib_json:
uses: nRF24/.github/.github/workflows/validate_deploy_platformio.yaml@main
secrets: inherit
with:
deploy-release: ${{ github.event_name == 'release' }}
build:
needs: [validate_lib_json]
uses: nRF24/.github/.github/workflows/build_platformio.yaml@main
with:
example-path: ${{ matrix.example }}
board-id: ${{ matrix.board }}
strategy:
fail-fast: false
matrix:
example:
- "examples/GettingStarted/GettingStarted.ino"
- "examples/AcknowledgementPayloads/AcknowledgementPayloads.ino"
- "examples/ManualAcknowledgements/ManualAcknowledgements.ino"
- "examples/StreamingData/StreamingData.ino"
- "examples/MulticeiverDemo/MulticeiverDemo.ino"
- "examples/InterruptConfigure/InterruptConfigure.ino"
- "examples/encodeRadioDetails/encodeRadioDetails.ino"
board:
- "teensy31"
- "teensy35"
- "teensy36"
- "teensy40"
- "teensy41"
- "teensylc"
- "genericSTM32F411CE"
- "blackpill_f103c8"
- "nodemcuv2"
- "adafruit_qtpy_esp32s2"