barback32/.drone.yml
Morgan 'ARR\!' Allen 5c5033898d
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
update submodules before testing
2021-10-14 23:10:30 -07:00

19 lines
471 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: espressif/idf:release-v4.1
commands:
- git submodule update --init
- if [ -f sdkconfig ]; then
- rm sdkconfig
- fi
- ls
- . /opt/esp/idf/export.sh
- idf.py reconfigure
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
- sed -i -e s/BARBACK_ID=\"Barback\"/BARBACK_ID=\"`cat bbid`\"/ sdkconfig
- idf.py reconfigure
- idf.py build