2023-02-18 14:19:58 +00:00
|
|
|
pipeline:
|
2023-02-18 16:52:17 +00:00
|
|
|
build_bike:
|
2023-02-18 14:19:58 +00:00
|
|
|
group: build
|
2023-02-18 17:00:19 +00:00
|
|
|
image: python-alpine
|
2023-02-18 14:19:58 +00:00
|
|
|
commands:
|
2023-02-18 17:00:19 +00:00
|
|
|
- apk add yajl-tools
|
2023-02-18 14:19:58 +00:00
|
|
|
- pip install -U platformio
|
2023-02-18 16:52:17 +00:00
|
|
|
- pio run -e bike -e bike_ble
|
|
|
|
- pio run -e bike -e bike_ble --target buildfs
|
|
|
|
build_esp32:
|
|
|
|
group: build
|
2023-02-18 17:00:19 +00:00
|
|
|
image: python-alpine
|
2023-02-18 16:52:17 +00:00
|
|
|
commands:
|
2023-02-18 17:00:19 +00:00
|
|
|
- apk add yajl-tools
|
2023-02-18 16:52:17 +00:00
|
|
|
- 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
|
|
|
|
build_8266:
|
|
|
|
group: build
|
2023-02-18 17:00:19 +00:00
|
|
|
image: python-alpine
|
2023-02-18 16:52:17 +00:00
|
|
|
commands:
|
2023-02-18 17:00:19 +00:00
|
|
|
- apk add yajl-tools
|
2023-02-18 16:52:17 +00:00
|
|
|
- pip install -U platformio
|
|
|
|
- pio run -e esp8266 -e esp8266_wifi
|
|
|
|
- pio run -e esp8266 -e esp8266_wifi --target buildfs
|
2023-02-18 17:00:19 +00:00
|
|
|
check:
|
|
|
|
commands:
|
|
|
|
- pip install -U platformio
|
|
|
|
- pio check
|