renderbug/.woodpecker.yml

20 lines
713 B
YAML

pipeline:
build_esp32:
group: build
image: python
commands:
- pip install -U platformio
- pio run -e esp32 -e esp32_wifi -e esp32_bluetooth -e esp32_wifi_display
- pio run -e esp32 -e esp32_wifi -e esp32_bluetooth -e esp32_wifi_display --target buildfs
build_esp8266:
group: build
image: python
commands:
- pip install -U platformio
- pio run -e esp8266 -e esp8266_wifi
- pio run -e esp8266 -e esp8266_wifi --target buildfs
check:
image: python
- pip install -U platformio
- pio check -e esp8266 -e esp32 --skip-packages --fail-on-defect medium --severity medium --severity high --severity low --pattern 'src/*' --pattern 'lib/*'