24 lines
387 B
YAML
24 lines
387 B
YAML
image: python:3.6
|
|
|
|
stages:
|
|
- build
|
|
- release
|
|
|
|
before_script:
|
|
- "pip install -U platformio"
|
|
- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
|
|
|
|
esp8266:
|
|
stage: build
|
|
script:
|
|
- "platformio run --environment esp8266"
|
|
- cp .pio/build/esp8266/firmware.bin esp8266.bin
|
|
artifacts:
|
|
paths:
|
|
- esp8266.bin
|
|
expire_in: 1 week
|
|
|
|
release:
|
|
stage: release
|
|
|