barback32/.gitlab-ci.yml
2020-10-28 17:22:04 -07:00

21 lines
337 B
YAML

stages:
- build
- flash
cache:
paths:
- build/
build:
stage: build
script:
- idf.py reconfigure
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
- sed -e 's/BARBACK_ID="Barback"/BARBACK_ID="`cat bbid`"/'
- idf.py build
flash:
stage: flash
script:
- idf.py flash