barback32/.gitlab-ci.yml
2020-10-28 18:42:38 -07:00

23 lines
382 B
YAML

stages:
- build
- flash
build:
stage: build
artifacts:
paths:
- build/
script:
- idf.py reconfigure
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
- sed -ie s/BARBACK_ID=.*/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
- cat sdkconfig
- idf.py build
flash:
stage: flash
script:
- idf.py flash