2021-05-09 18:52:01 +00:00
|
|
|
image: python:3.6
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- "pip install -U platformio"
|
2021-05-09 19:05:35 +00:00
|
|
|
- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
|
2021-05-09 18:52:01 +00:00
|
|
|
|
2021-05-10 07:13:11 +00:00
|
|
|
build:
|
2021-05-09 18:52:01 +00:00
|
|
|
stage: build
|
|
|
|
script: "platformio run"
|
2021-05-10 07:13:11 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- .pio/build/esp8266/firmware.bin
|
|
|
|
expire_in: 1 week
|