barback32/.gitlab-ci.yml

22 lines
337 B
YAML
Raw Normal View History

2020-10-26 22:45:05 -04:00
stages:
- build
2020-10-27 00:16:32 -04:00
- flash
2020-10-26 22:45:05 -04:00
2020-10-28 20:22:04 -04:00
cache:
paths:
- build/
2020-10-26 22:45:05 -04:00
build:
stage: build
script:
2020-10-28 20:09:21 -04:00
- idf.py reconfigure
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
- sed -e 's/BARBACK_ID="Barback"/BARBACK_ID="`cat bbid`"/'
2020-10-26 22:45:05 -04:00
- idf.py build
2020-10-27 00:16:32 -04:00
flash:
stage: flash
script:
- idf.py flash