barback32/.gitlab-ci.yml

24 lines
382 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
build:
stage: build
2020-10-28 21:42:38 -04:00
artifacts:
paths:
- build/
2020-10-26 22:45:05 -04:00
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