barback32/.gitlab-ci.yml
Morgan 'ARR\!' Allen 3adc8745e1 more exact line match
2020-10-28 19:05:32 -07:00

26 lines
460 B
YAML

stages:
- build
- flash
build:
stage: build
artifacts:
paths:
- build/
script:
- if [ -f sdkconfig ]; then
- sdkconfig
- fi
- 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