Add renewAddress to MQTT examples if connect fails #105
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: 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" |