From f279272c95fc97d5909236d47e5393935a41074e Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Sat, 18 Feb 2023 18:00:19 +0100 Subject: [PATCH] woodpecker: add static analysis --- .woodpecker.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5d8f1a3..1119074 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,22 +1,28 @@ pipeline: build_bike: group: build - image: python + image: python:3-alpine commands: + - apk add yajl-tools - pip install -U platformio - pio run -e bike -e bike_ble - pio run -e bike -e bike_ble --target buildfs + - pio check -e bike -e bike_ble build_esp32: group: build - image: python + image: python:3-alpine commands: + - apk add yajl-tools - pip install -U platformio - pio run -e esp32 -e esp32_wifi -e esp32_bluetooth - pio run -e esp32 -e esp32_wifi -e esp32_bluetooth --target buildfs + - pio check -e esp32 -e esp32_wifi -e esp32_bluetooth build_8266: group: build - image: python + image: python:3-alpine commands: + - apk add yajl-tools - pip install -U platformio - pio run -e esp8266 -e esp8266_wifi - pio run -e esp8266 -e esp8266_wifi --target buildfs + - pio check -e esp8266 -e esp8266_wifi