woodpecker: add static analysis

This commit is contained in:
Torrie Fischer 2023-02-18 18:00:19 +01:00
parent cbe3ba3f30
commit 096aae1104

View File

@ -1,22 +1,29 @@
pipeline: pipeline:
build_bike: build_bike:
group: build group: build
image: python image: python-alpine
commands: commands:
- apk add yajl-tools
- pip install -U platformio - pip install -U platformio
- pio run -e bike -e bike_ble - pio run -e bike -e bike_ble
- pio run -e bike -e bike_ble --target buildfs - pio run -e bike -e bike_ble --target buildfs
build_esp32: build_esp32:
group: build group: build
image: python image: python-alpine
commands: commands:
- apk add yajl-tools
- pip install -U platformio - pip install -U platformio
- pio run -e esp32 -e esp32_wifi -e esp32_bluetooth - pio run -e esp32 -e esp32_wifi -e esp32_bluetooth
- pio run -e esp32 -e esp32_wifi -e esp32_bluetooth --target buildfs - pio run -e esp32 -e esp32_wifi -e esp32_bluetooth --target buildfs
build_8266: build_8266:
group: build group: build
image: python image: python-alpine
commands: commands:
- apk add yajl-tools
- pip install -U platformio - pip install -U platformio
- pio run -e esp8266 -e esp8266_wifi - pio run -e esp8266 -e esp8266_wifi
- pio run -e esp8266 -e esp8266_wifi --target buildfs - pio run -e esp8266 -e esp8266_wifi --target buildfs
check:
commands:
- pip install -U platformio
- pio check