barback32/.drone.yml
Morgan 'ARR\!' Allen c82f162115
Some checks failed
continuous-integration/drone/push Build is failing
weres teh trust
2021-10-14 23:17:26 -07:00

20 lines
534 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: espressif/idf:release-v4.1
commands:
- ssh-keyscan -t rsa git.oit.cloud >> ~/.ssh/known_hosts
- 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