pitrix/.drone.yml

13 lines
503 B
YAML

kind: pipeline
name: default
steps:
- name: PlatformIO
image: python:2.7
commands:
- pip install -U platformio
- cp include/config.sample.h include/config.h
- PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -DDEBUG -DMQTT_ENABLE -DMQTT_REPORT_METRICS" pio run
- PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -UDEBUG -UMQTT_ENABLE -UMQTT_REPORT_METRICS" pio run
- PLATFORMIO_BUILD_FLAGS="-DCONFIG_USABLE -DDEBUG -DMQTT_ENABLE -DMQTT_REPORT_METRICS" pio run --environment=esp32