barback32/.gitlab-ci.yml

24 lines
366 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-28 20:32:56 -04:00
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
2020-10-28 20:48:50 -04:00
- sed -ie s/BARBACK_ID=.*/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
2020-10-28 20:32:56 -04:00
- cat sdkconfig
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