barback32/.gitlab-ci.yml
Morgan 'ARR\!' Allen 77cb037ec0 mabye....
2020-10-28 17:46:30 -07:00

23 lines
373 B
YAML

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