barback32/.gitlab-ci.yml
Morgan 'ARR\!' Allen fd37b13e7a weve come to this
2020-10-28 19:22:41 -07:00

27 lines
488 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 -i -e s/BARBACK_ID=\"Barback\"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
- cat sdkconfig
- idf.py build
flash:
stage: flash
script:
- cat sdkconfig
- idf.py flash