barback32/.gitlab-ci.yml
Morgan 'ARR\!' Allen 49970fdbe5 meh
2020-10-28 19:01:30 -07:00

26 lines
453 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_ID=\"`cat bbid`\"/ sdkconfig
- cat sdkconfig
- idf.py build
flash:
stage: flash
script:
- idf.py flash