mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-14 20:56:38 +01:00
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
#stages:
|
|
# - build
|
|
#
|
|
#cache:
|
|
# paths:
|
|
# - .piolibdeps
|
|
#
|
|
#build-examples:
|
|
# stage: build
|
|
# image: registry.gitlab.com/wirelos/contraption-pipeline/platformio:v1
|
|
# script:
|
|
# - pio upgrade
|
|
# - platformio lib --global install painlessMesh ArduinoJson TaskScheduler PubSubClient ESPAsyncTCP AsyncTCP "ESP Async WebServer"
|
|
# - platformio ci --lib="." --board=esp12e src/examples/basic/
|
|
# - platformio ci --lib="." --board=esp12e src/examples/mesh/
|
|
# - platformio ci --lib="." --board=esp12e src/examples/mqttBridge/
|
|
|
|
image: python:2.7-stretch
|
|
|
|
# This folder is cached between builds
|
|
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
|
|
cache:
|
|
paths:
|
|
- firmware
|
|
|
|
stages:
|
|
- test
|
|
- build
|
|
|
|
before_script:
|
|
- "pip install -U platformio"
|
|
|
|
firmware-build:
|
|
stage: build
|
|
image: python:2.7-stretch
|
|
script:
|
|
- pio run --target clean
|
|
- pio run --environment basic
|
|
- pio run --environment wifi
|
|
- pio run --environment wifiMesh
|
|
artifacts:
|
|
paths:
|
|
- .pioenvs/*/firmware.*
|
|
- .pioenvs/*/spiffs.bin
|