PumpenSteuerung/.gitlab-ci.yml

22 lines
418 B
YAML
Raw Normal View History

image: nikolaik/python-nodejs:python3.9-nodejs15-slim
stages:
- build
cache:
paths:
- "~/.platformio"
before_script:
- "pip install -U platformio"
- "platformio update"
build:
stage: build
script:
- "platformio run -e esp12e"
- vers=$(grep -Po '[0-9]*\.[0-9]*\.[0-9]*(?=\")' ./src/Pins.h)
- mv .pio/'build/esp12e/*.bin Pumpensteuerung-${vers}.bin
artifacts:
paths:
- ./*.bin