Update .gitlab-ci.yml
This commit is contained in:
parent
e5451b5aae
commit
49ca4b6312
1 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue