Update .gitlab-ci.yml

master
Dorian Zedler 2021-05-10 14:34:41 +00:00
parent e5451b5aae
commit 49ca4b6312
1 changed files with 10 additions and 3 deletions

View File

@ -2,15 +2,22 @@ image: python:3.6
stages:
- build
- release
before_script:
- "pip install -U platformio"
- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
build:
esp8266:
stage: build
script: "platformio run"
script:
- "platformio run --environment esp8266"
- cp .pio/build/esp8266/firmware.bin esp8266.bin
artifacts:
paths:
- .pio/build/esp8266/firmware.bin
- esp8266.bin
expire_in: 1 week
release:
stage: release