-
Notifications
You must be signed in to change notification settings - Fork 50
69 lines (64 loc) · 2.48 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
58
59
60
61
62
63
64
65
66
67
68
69
name: PlatformIO build
on:
pull_request:
branches: [master]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"
- "*.cpp"
- "*.h"
- "!Dns.*"
- "!clock-arch.*"
push:
branches: [master]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"
- "*.cpp"
- "*.h"
- "!Dns.*"
- "!clock-arch.*"
release:
types: [published, edited]
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]
if:
uses: nRF24/.github/.github/workflows/build_platformio.yaml@main
with:
example-path: ${{ matrix.example }}
board-id: ${{ matrix.board }}
lib-deps: -l 256dpi/MQTT
strategy:
fail-fast: false
matrix:
example:
- "examples/Getting_Started_SimpleClient_Mesh/Getting_Started_SimpleClient_Mesh.ino"
- "examples/Getting_Started_SimpleServer_Mesh/Getting_Started_SimpleServer_Mesh.ino"
- "examples/InteractiveServer_Mesh/*"
- "examples/MQTT/mqtt_basic/mqtt_basic.ino"
- "examples/MQTT/mqtt_basic_2/mqtt_basic_2.ino"
- "examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino"
- "examples/SimpleClient_Mesh/SimpleClient_Mesh.ino"
# these need RF24_TAP defined
# - "examples/SLIP_InteractiveServer/SLIP_InteractiveServer.ino" # also requires EEPROM.h
# - "examples/TAP/Getting_Started_InteractiveServer/Getting_Started_InteractiveServer.ino"
# - "examples/TAP/Getting_Started_SimpleClient/Getting_Started_SimpleClient.ino"
# - "examples/TAP/Getting_Started_SimpleClient_DNS/Getting_Started_SimpleClient_DNS.ino"
# - "examples/TAP/Getting_Started_SimpleServer/Getting_Started_SimpleServer.ino"
# - "examples/TAP/Getting_Started_SimpleServer_Minimal/Getting_Started_SimpleServer_Minimal.ino"
# other reasons we exclude the following examples
# - "examples/SLIP_Gateway/SLIP_Gateway.ino" # hardcoded to use HardwareSerial
# - "examples/TAP/InteractiveServer/InteractiveServer.ino" # specific to AVR boards
# - "examples/InteractiveServer_Mesh_ESPWifi/InteractiveServer_Mesh_ESPWifi.ino" # requires ESP8266WiFi.h
board:
- "tinypico"
- "nodemcuv2"
- "bluepill_f103c8"