software/.gitlab-ci.yml

24 lines
387 B
YAML
Raw Normal View History

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