barback32/.gitlab-ci.yml

24 lines
372 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:32:56 -04:00
- sed -e 's/BARBACK_ID="Barback"/BARBACK_ID="`cat bbid`"/' sdkconfig
- 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